Random tech stuff, mostly related to C# and Microsoft .NET, but not only...
1: if (selectedIndex > -1 && dataGridView1.Rows.Count > selectedIndex)
2: {
3: dataGridView1.Rows[selectedIndex].Selected = true;
4: dataGridView1.FirstDisplayedScrollingRowIndex = selectedIndex;
5: }
Post a Comment
No comments:
Post a Comment