How do I programmatically select a row in DataGrid?

Platform: WinForms| Category: 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)

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.