Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: Paging ERROR with 2 Datagrids


Message #1 by "Neal Walters" <nwalters@s...> on Thu, 27 Feb 2003 05:26:46
I just spent about 4 or 5 hours working on the same problem. 

In my case, the DataGrid was originally bound to a DataSource that was a 
strongly typed DataSet, and the DataMember was a table name in that 
DataSet.  Then in my code, I rebound to a DataView that was saved in a 
Session variable.  The grid appears fine the fist time, but the problem 
would occur anytime I moved to another page.
 
The only solution I found so far, was to remove the DataSource and 
DataMember properties from the grid (after I finished designing it). 

I also tried setting the DataMember to "" and to Nothing, but that did 
not solve the problem. 
 
Neal Walters, MCT, MCSD, MCSE, MCDBA 
http://AmerisoftInc.com 
http://TheFoundationsOfSuccess.com 
http://LanguageLovers.com 


  Return to Index