I'm using DataBind() on an ASP.NET GridView, and it throws a ThreadingAbort exception, but only when the GridView is currently bound to an empty (but not null) DataTable and I call DataBind() after linking it to another empty (but not null) DataTable.
DataTable dt = ... // obtain DataTable with 0 rows
MyGridView.DataSource = dt;
MyGridView.DataBind(); // errors on second time around
Any ideas why this should happen, and how to stop it? Thanks
if(!IsPostBack). - 5377037