Home » FAQ » WinForms » Datagrid » How do I programmatically select a row in DataGrid?
To programmatically select a row, you need to call:
[C#] //select row 1 this.dataGrid1.Select(1); [VB.NET] 'select row 1 Me.dataGrid1.Select(1)
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with