GridView Edit Not Working

Discussion in 'ASP .Net Datagrid Control' started by Saubz, Sep 25, 2006.

  1. Saubz

    Saubz Guest

    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?
    Saubz, Sep 25, 2006
    #1
    1. Advertising

  2. 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 (, 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.
    Walter Wang [MSFT], Sep 26, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. San Diego Guy
    Replies:
    0
    Views:
    544
    San Diego Guy
    Aug 7, 2003
  2. Schultz
    Replies:
    3
    Views:
    557
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  3. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,328
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  4. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    394
    Jaime Stuardo
    Apr 7, 2006
  5. Kristen

    Conditional Gridview Edit Column Not Working

    Kristen, Aug 31, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    251
    Kristen
    Aug 31, 2006
Loading...

Share This Page