Display the desired field in Gridview RRS feed

  • Question

  • 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"));

    Sunday, May 20, 2018 7:08 PM

All replies

  • 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.


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

    Best Regards,


    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.

    Monday, May 21, 2018 7:58 AM
  • Dear Wendy

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

    Monday, May 21, 2018 9:50 AM