By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,105 Members | 1,452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,105 IT Pros & Developers. It's quick & easy.

Display row number in DataGridView

P: n/a
Hi,
is it possible to display the Row number in the in the row selection column
in a DataGridView (this is the "column" before your first column...when you
click on it, it highlights the entire row).

also, i have put code in the SelectedIndexChange event of the DataGrid view
to display the current row out along with the total number of rows. but this
behaves weird, if i click around, sometimes the number displayed does not
match the display order of the row.

thanks for any feedback
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Check out this link on 'modifying' the row headers:
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q896q

Regarding your second question; does your issue happen when you are
selecting a row after sorting the datagrid? Please explain in which scenario
this actually happens.

HTH,
Rakesh Rajan

"dimension" wrote:
Hi,
is it possible to display the Row number in the in the row selection column
in a DataGridView (this is the "column" before your first column...when you
click on it, it highlights the entire row).

also, i have put code in the SelectedIndexChange event of the DataGrid view
to display the current row out along with the total number of rows. but this
behaves weird, if i click around, sometimes the number displayed does not
match the display order of the row.

thanks for any feedback

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.