none
Display the desired field in Gridview

    Pertanyaan

  • Hello There is a table in Gridview2 on my form which is named List. When I run the project that I want to do, I click on any of the listed names in the Gridview2 and I want the Gridview1 to come to that area. By the way Surname is the common area on both grids. How can you help me to be delighted!
    string Surname = Convert.ToString(gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "SURNAME"));

    20 Mei 2018 19:08

Semua Balasan

  • Hi BurakTurhan,

    Thank you for posting here.

    For your question use the Gridview control, it is more related to ASP.NET, you could post a new thread in ASP.NET forum for suitable support.

    https://forums.asp.net/

    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    21 Mei 2018 7:58
  • Dear Wendy

    But I am developing it as a desktop application for C# WinForm not to ASP.NET app.

    21 Mei 2018 9:50