acaruson 10/18/2015 | |
Hi guys, Does anybody know how to show ItemIndex in a list page? Example: 1 Apple 2 Cherry 3 Watermelon Note: I dont want to show PKID or any other column. I want to add ItemIndex column additionally. In other words, I want to show the row number.(index of row) Thanks for help.
|
C
|
ccvvccc author 10/19/2015 |
So you basically just want to show a number for each ROW? regardless of what record is in the row? So no matter how you sort, it always numbers the rows, 1, 2, 3, 4, etc. Or is the "ID" you're talking about unique to each record?
|
acaruson 10/19/2015 | |
Yes, I basically just want to show a number for each ROW. It foesnt2 matter after sorting. For example. there are 10 rows in the table and It should be from 1,2,3,4,5,6,7,8,10 in the first columns of the rows. Thanks for reply. Actually I wanted to ask this question for AspRunner.net . But I 've opened it in the wrong place. So can admin please move this topic to asprunner.net questions?
|
C
|
ccvvccc author 10/19/2015 |
So if record "Adams" is 1 and record "Zebra" is 10...then you re-sort the list...and "zebra" is 1 and "Adams" is 10? No matter how data is sorted...records are always listed 1-10 etc.?
|