To get the selected row index in Devexpress Xtragrid Control using C# and VB.NET you can use the snippet below.
Samples
Sample C#
int selectedRowIndex = gridView1.FocusedRowHandle;
Sample VB.NET
Dim selectedRowIndex as Integer = gridView1.FocusedRowHandle
If you have any questions or suggestions feel free to rate this snippet, post a comment or Contact Us via Email.
Related links:
Get selected rowindex in #Devexpress #Xtragrid using #csharp and #VB #DOTNET –> https://t.co/jy7ghXlyQa
RT @CodeSnippetsNET: Get selected rowindex in #Devexpress #Xtragrid using #csharp and #VB #DOTNET –> https://t.co/jy7ghXlyQa
RT @CodeSnippetsNET: Get selected rowindex in #Devexpress #Xtragrid using #csharp and #VB #DOTNET –> https://t.co/jy7ghXlyQa
RT @CodeSnippetsNET: Get selected rowindex in #Devexpress #Xtragrid using #csharp and #VB #DOTNET –> https://t.co/jy7ghXlyQa