Digital Colony is the ad-free technical web site for Michael Allen Smith of Bellevue, WA.
Blogger...for now
DataTable dt = new DataTable(); GridView1.DataSource = dt; GridView1.DataBind();
Labels: GridView
posted by MAS at 1/06/2008
Also make sure if your setting DataKeyNames, while resetting are set to null.
6/12/2008 9:50 AM
Or in 2 lines:GridView1.DataSource = Nothing; GridView1.DataBind();
7/03/2008 4:27 AM
Post a Comment
Digital Colony Copyright © 1999-2008 XHTML 508 This site uses Blogger, which is not 100% XHTML compliant. Try...Catch Disclaimer: For brevity many examples do not include error handling. That is your responsibility.