ASP 3.5 with VB SqlDataSource Update with GridView

Discussion in 'ASP .Net Web Controls' started by Dan Bellerue, Nov 27, 2009.

  1. Dan Bellerue

    Dan Bellerue Guest

    In a Visual Studio ASP.Net (3.5) Web Application, I am unable to update an SqlDataSource (code returned is "0")in VB code even though the GridView displays the data changed by the code.

    VB code: returnValue = UserSqlDataSource.Update()

    UserSqlDataSource has an UpdateCommand = "UPDATE [User] SET [User_Locked?] = ? WHERE [User_ID] = ?"

    Any ideas?


    EggHeadCafe - Software Developer Portal of Choice
    Styling WPF UI using Resource Dictionaries
    http://www.eggheadcafe.com/tutorial...e-3a58a615c3d7/styling-wpf-ui-using-reso.aspx
    Dan Bellerue, Nov 27, 2009
    #1
    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. OceanTragic
    Replies:
    0
    Views:
    1,766
    OceanTragic
    Nov 14, 2006
  2. Will
    Replies:
    0
    Views:
    763
  3. Luqman
    Replies:
    5
    Views:
    1,408
    luqman
    Nov 22, 2007
  4. PeterKellner
    Replies:
    1
    Views:
    188
    mou piya
    Jun 2, 2006
  5. Vaughn Haybittle
    Replies:
    0
    Views:
    884
    Vaughn Haybittle
    Apr 2, 2007
Loading...

Share This Page