Welcome to My ASP.NET Blog

Be sure to come back often and tell others. If you have any tips, tricks, examples, please email them to me at chrisw_88@hotmail.com and I will post them. Below is my latest articles.

Search For ASP.NET Tips and Tricks

 

Sunday, March 04, 2007

Setting the DataList's SelectedIndex Programmatically

There have been a number of emails asking how to set the selected index of a datalist programmatically. Here is a link to a good article on how to do it:



http://scottonwriting.net/sowblog/posts/363.aspx


Please continue to email me your tips at chrisw_88@hotmail.com and I will be placing them on either of these blogs depending on their context.