all groups > asp.net datagrid control > september 2006 >
You're in the

asp.net datagrid control

group:

GridView Edit Not Working



GridView Edit Not Working Saubz
9/25/2006 6:47:01 AM
asp.net datagrid control: Hello. I have a problem with my GridView not updating. I have a GridView
showing 4 fields from a database table. If all 4 of the fields have values
showing in the GridView, then using the automatically generated Edit button
on the GridView works just fine - the database updates. But if one of the
fields in the GridView is empty(representing a NULL value in the database)
then the Edit button does not Update the changes in the database - the page
posts back with the same data. I have the ConvertEmptyStringToNull="true"
property set in the <UpdateParameters> in my SqlDataSource. Is there
something else I am missing? Why won't this work?
RE: GridView Edit Not Working wawang NO[at]SPAM online.microsoft.com
9/26/2006 12:00:00 AM
Hi,

I've posted a reply to your post "GridView Update Not Working" in
"microsoft.public.dotnet.framework.aspnet.webcontrols". Please reply there.
Thank you.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button