Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I programmatically select a row in DataGrid?

Use the DataGrid.Select method.

using System.Windows.Forms;

DataGrid dataGrid1;
// ...

dataGrid1.Select( 1 ); // select row 1

Contributed from George Shepherd's Windows Forms FAQ



Page view counter