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
"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
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 ?