How to update the datagrid in vb 6 using command buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluethunder
    New Member
    • Sep 2007
    • 50

    How to update the datagrid in vb 6 using command buttons

    Good day!

    I'm having a problem with my program with the use of datagrid. Here's the scenario after adding a new record I want the data from my database will be also display in datagrid. Is there any sample code that I must use? I want to use the previous, next, delete, & add in the program that after pressing those command buttons the datagrid will be also updated.
  • bluethunder
    New Member
    • Sep 2007
    • 50

    #2
    Is there anyone who can help me?

    Comment

    • smartchap
      New Member
      • Dec 2007
      • 236

      #3
      In Google search for DataGrid in VB6 and u will get a lot of sample codes in various sites. Just attach a .mdb file with DataGrid and command buttons Add, Delete, Forward, Previous, etc will have only one or two line code each.

      Comment

      • smartchap
        New Member
        • Dec 2007
        • 236

        #4
        May see
        Learn to manage databases using DataGrid Control in VB6 for efficient data display and editing




        sites for help.

        Comment

        • bluethunder
          New Member
          • Sep 2007
          • 50

          #5
          I'm using Data Environment command for the connection of my program to its database.

          Comment

          • smartchap
            New Member
            • Dec 2007
            • 236

            #6
            Can u post the .zip file of ur work and tell about exact problem?

            Comment

            Working...