how can show record on top datalist

Posted by Umeshdwivedi under ASP.NET on 8/10/2011 | Points: 10 | Views : 930 | Status : [Member] | Replies : 2
Hallo to all
i m inserting some data in database.
and populating in datalist
and now i want that which record i insert last that show on top in datalist row
how can i do.

Latest Technology Trainer
And Part time software consultant



Responses

Posted by: Jpchoudhari on: 8/10/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

you have to sort the data basically by (added/inserted date)


Kind Regards,
Jay

Umeshdwivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 8/11/2011 [Member] Bronze | Points: 25

Up
0
Down
You can maintain autogenerate id.... and display data id wise descending order

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Umeshdwivedi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response