Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Help! Creating an update form for SQL

Help! Creating an update form for SQL

Scheduled Pinned Locked Moved Visual Basic
databasecsshelpannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Larry White
    wrote on last edited by
    #1

    I am trying to create a Windows Form to update a simple database, but cannot get the code right for the update process. I felt like I had it down in class, but ... not! The SQL 2000 database has 21 fields (datetime, nvarchar, int) data types. I created 2 forms, one with textboxs for each field and the other with a data grid. I cannot seem to get either one to work. As some of the fields are lengthy, the form with individual textboxs would be the preferred way. Any help would be greatly appreciated! I have the load function working to see all of the records. I also 3 fields that use a listbox and I am able to select the different values. Thank you, LWhite

    C 1 Reply Last reply
    0
    • L Larry White

      I am trying to create a Windows Form to update a simple database, but cannot get the code right for the update process. I felt like I had it down in class, but ... not! The SQL 2000 database has 21 fields (datetime, nvarchar, int) data types. I created 2 forms, one with textboxs for each field and the other with a data grid. I cannot seem to get either one to work. As some of the fields are lengthy, the form with individual textboxs would be the preferred way. Any help would be greatly appreciated! I have the load function working to see all of the records. I also 3 fields that use a listbox and I am able to select the different values. Thank you, LWhite

      C Offline
      C Offline
      codeadair
      wrote on last edited by
      #2

      What do you want to do? Maybe DATAFORM Wizard could help you. ICQ:258-235-734 MSN:msnadair@hotmail.com

      L 1 Reply Last reply
      0
      • C codeadair

        What do you want to do? Maybe DATAFORM Wizard could help you. ICQ:258-235-734 MSN:msnadair@hotmail.com

        L Offline
        L Offline
        Larry White
        wrote on last edited by
        #3

        I do use the wizard, but since the wizard defaults to OleDb vs SQL, my problem occurs changing the connection over to SQL. LWhite

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups