Results 1 to 2 of 2

Thread: desperate with updating my database

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    175

    desperate with updating my database

    first thanks for all those who will reply this massage
    ill try to make it shorten - in generally im tyron in vb.Net and i try to update mdb file from userform
    i have
    1. dsCompanies - dataset
    2. T_Companies - datatable
    T_ConnectionDetail - datatable
    that connected 1:m - so each company can have many connection details.
    3. i have 2 grids
    a. - grdcompanie - displays the companies
    b. - grdConnway - the many connections for each company
    when i stands on the companies grid i can see its all connections.
    4. i have add button which opens form
    in that form i have some textboxes.

    i wish the user:
    1. when he press on company on the grid and click the button the form will open and the user will add new connection for the selected company.

    so till the form opens its ok - but how do i bind the txtboxes to the tables separately and update the database with the data in the textboxes for the propriate company

    sorrryyyy for the long and complicated question - each answer will be more then appreciated

  2. #2
    Fanatic Member Mr.No's Avatar
    Join Date
    Sep 2002
    Location
    Mauritius
    Posts
    651
    ronlahav

    I think you could pass the dataset in the main form to the popup form so that whatever you add is refreshed in the grid.
    Using VB.NET 2003/.NET 1.1/C# 2.0
    http://del.icio.us/rajoo
    Blow your mind, smoke gunpowder
    Ashes to ashes, dust to dust
    If God won't have you, the devil will. - Author unknown
    Don't follow me, I'm lost too ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width