Rowupdating oldvalues empty online dating derek
From some googling it appears that, at least in the release candidate for NET2 this was a known bug; only binding to Data Sources lets those dictionaries be populated. | | From some googling it appears that, at least in the release candidate for NET2 this was a known bug; only binding to Data Sources | lets those dictionaries be populated. 2) I think it's weird that the "value" capability is tied to the parameters collection. That way it'd work with both types of data binding.
I would like to confirm that this is a problem with the released version of NET2, so I can stop beating my head against the wall trying to get the Grid View to work "as advertised". As for the Grid View control doesn't correctly populate the Old Values or New Values parameters collection when performing udpdate operation, I think it is likely caused by some certain setting in the Grid View control... | | I would like to confirm that this is a problem with the released version of NET2, so I can stop beating my head against the wall | trying to get the Grid View to work "as advertised". - Mark Thanks for your followup Mark, Frankly speeking, I do agree with you that this is a big limitation since I haven't noticed this before until you mentioned this...
It looks like your source code is pretty close to the MSDN source code here.
not-for-mail | Xref: TK2MSFTNGXA02gbl microsoft.public.dotnet.framework.aspnet:372922 | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet | | Steven, | | Thanx for confirming the limitation.
I've added a gridview to my project, and it's displaying and sorting properly. Also, I'm using a cache object, as seen in the code below, and I've never used that before. I'm not a big fan of drag and drop and then magic server pixies do the rest. I've found sever 'For Each' examples online to iterate through the 'New Values' and 'Old Values' collections, but it skips right over the loops, so the collections are empty.
The difference between your code and the code on MSDN is: - The MSDN code takes the new data from the edited row and updates the appropriate data in the To me, this is garbage, because it's so highly coupled to the order of your cells.
NET that is bound programatically in the Page_Load function.