Linking Databases in VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simoneusingVB
    New Member
    • Nov 2008
    • 4

    Linking Databases in VB

    Here's the project I created on College management system with registration form alone and for other trades in college.

    the link :
    Project_new.rar - 0.12MB

    Project_new.rar - 0.12MB

    It just I'm unaware of using Databases in the coding for Save command whereas its easy to code for Back and exit option.
    Anyone who can guide me through this process will be appreciated.

    Thanks
    in waiting mode LOL
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    are you facing any problem with your code ?

    Comment

    • simoneusingVB
      New Member
      • Nov 2008
      • 4

      #3
      Originally posted by debasisdas
      are you facing any problem with your code ?
      Yeah I want coding for "save" button on registration form so it links it to database (.mdb) file that I created in MS Access.

      The coding should look like this

      Private Sub Command9_Click( )
      rs.AddNew
      rs(“Registratio nnumber”) = Text1.Text
      rs(“Name”) = Text2.Text
      rs(“Fathername” ) = Text3.Text
      rs(“Dateofbirth ”) =Text4.Text
      rs(“Previousres ult”) = Text5.Text
      rs(“Rank”) = Text6.Text
      rs(“selectedtra de”) = Text7.Text
      rs.Update
      End Sub

      Comment

      Working...