Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display (Scroll to) a row in a datagridview ? 1

Status
Not open for further replies.

NoCoolHandle

Programmer
Joined
Apr 10, 2003
Messages
2,321
Location
US
I know I must be missing something, but I want to scroll the datagrid programaticly to a particular record..

I.E. I know that the row to display is the 34 row, but what I can't figure out is how to make the grid display that row.


Thanks in advance..

Rob
 
I think you can use the FirstDisplayedScrollingRowIndex property, but I can't test this as I don't have .NET 2.0.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
J did you know you can download vb.net 2.0 express for free?

That is what i am using.. some limits, but not really :)

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top