HELP in saving all information in a datagrid in vb6?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • psyvanz
    New Member
    • Sep 2009
    • 26

    HELP in saving all information in a datagrid in vb6?

    How to save all the information in a datagrid in just one command button, click, and it will automatically save in the table in access(student name,and student subjects will added and save in table ), regardless on how many records were bind in a datagrid.

    im using dataenvironment in connecting my database MS Access 2007, hope you help me on this matter (please just a dataenvironment code) cause modules is too complicated for me..

    im working with enrollment system and im stuck in this, student's subject's transaction, i want to save all subjects in my datagrid in just a single click of a command button.

    kindly help me ASAP...

    that's if your not busy and in a good mood...x)

    thanks in advance... GOD bless... and more power... to you...

    additional question?

    for you, what is the simplest programming language now a days? cause i want to try it for sure... and i want to adapt that new trend programming language..


    thanks a lot... sir/maam...


    "And if you have a system related to vb6 college enrollment system,please kindly email me at spincer31069@ya hoo.com your kindness is much appreciated..." don't worry sir/maam i will promise that i will not copy all you have made for your program i just want to know and analyze some codes that you made... x)

    that's all thanks to the answers... note: it is better to give than to....receive.. . i mean it is better to share your precious knowledge than to keep it forever... that's one of my moto in life x)

    --------

    below i attach my image form to relate my problems...
    Attached Files
  • Crystaltech
    New Member
    • Jul 2007
    • 6

    #2
    '''' hope this will help

    Private Sub Command1_Click( )

    dim DTL AS NEW ADODB.RECORDSET

    If DTL.State = 1 Then DTL.Close

    DTL.Open "select FieldName from Table Name", con, adOpenKeyset, adLockPessimist ic

    If DTL.RecordCount > 0 Then

    Set DataGrid1.DataS ource = DTL

    End sub

    Comment

    • regan2007
      New Member
      • Oct 2009
      • 12

      #3
      How are you going to connect one desktop visual basic application to another visual basic application in a network?Please help me....

      Comment

      • joxun
        New Member
        • Oct 2009
        • 5

        #4
        I would like

        Pls, One more. I would like to display more than 500 icons into the form. Is there an easy way to do it. I know vb.net does not allow to create an array of variable. Can I create one PictureBox and divice it into several pieces.

        Antigua Holidays
        bra accessories

        Comment

        Working...