Link to home
Create AccountLog in
Avatar of AlHal2
AlHal2Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Display Row numbers at left of datagridview vb 2005

If dt is a datatable then I have bound a datagridview to dt using the command
Grid1.DataSource = dt
There are 1600 rows and I want to show the row number on the left of the grid.  
How do I do this?
Should I put the code before or after binding the grid?
ASKER CERTIFIED SOLUTION
Avatar of VBRocks
VBRocks
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of AlHal2

ASKER

Perfect.  Thanks.