Decker - Thanks for the suggestions. I'll take a look at this.
Decker Dong - MSFT
Three suggestions for you Lupin-III:)
1)In your aspx page,there should be something like UpdateParameters,please set DefaultValue="" for all the strings,and set ConvertEmptyStringToNull=True。
2)Check whether you've set DataKeyNames for GridView,or DataKeys for other controls like Repeater or something else。
3)Converting the Update to TemplateField,and then handle GridView_RowUpdating,plz use something like e.Command,e.Parameters to debug to see what's happening……
Lupin-III
Member
19 Points
6 Posts
Re: Unable to update a field that has a NULL value
Feb 23, 2012 02:19 PM|LINK
Decker - Thanks for the suggestions. I'll take a look at this.