GridView Edit Not Working

S

Saubz

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?
 
W

Walter Wang [MSFT]

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 ([email protected], 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top