How to programatically select first row of DataGridView

Viewed 54036

Possible Duplicate:
Selecting a row in Datagridview Programatically?

I am developing a new desktop application in C# using Windows Forms. In one of my form i put the DataGridView Control and i am populating this dataGridViewControl Dynamically using my custom functions.

Now after populating the above control, is there any way to programatically select the first row of that DataGridViewview. Note: the Selection mode property of this DataGridView is set to "Full row Select"

2 Answers
Related