How to show serial

A

ad

I have not any serial number in my table.
But I want to show the serial number in my select result.
Like:

Select firstname, age from Employee:
Jhon 38
Mary 40
Mimi 32

How to show :
1 Jhon 38
2 Mary 40
3 Mimi 32


I wnat to show that serial number in a datalist control.

How can I do ?
 
S

S. Justin Gengo

ad,

Use OnItemDataBound (which fires for each item and increase a page
variable's count then place that count into the datalist.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
A

ad

Thanks

S. Justin Gengo said:
ad,

Use OnItemDataBound (which fires for each item and increase a page
variable's count then place that count into the datalist.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top