Click here to Skip to main content
15,905,566 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to display serial no in label that is in gridview .

iam displaying the data in gridview in that one column i have to display serial no .
but iam not binding the serial no.

i want to display as auto increment in label

please give me solution.



S.No. Username Job Title Date Status Views Applications
1 srivani blackapple is a software company in world.it isalso india and australia, england 17 Nov 2011 Active 5 1
1 srivani SD-IS Retail consultant and trainer 16 Nov 2011 Active 3 1
1 srivani SD-IS Retail consultant 16 Nov 2011 Active 6 0
1 srivani fdfdf and developerts 16 Nov 2011 Active 9 2
Posted

1 solution

I'm not pretty much clear about your question. if you ask for an auto generate row number then this article will help you

AutoNumber Column or Auto Number in GridView or DataList ASP.NET
 
Share this answer
 
Comments
Member 7932936 23-Nov-11 0:37am    
thank you.it's working.fine

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900