Live Chat Icon For mobile
Live Chat Icon

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

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

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

Please submit your question and answer.