Results 1 to 3 of 3

Thread: SQL Databases

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    6

    Question SQL Databases

    I have a form with a datagrid on it showing some of the SQL db columns,when an item is dblClicked it opens a new form. What I would like is to show all the db fields on this form for the current row(the one that was dblClicked) and have the data displayed in textboxes.

    Any kind of help would be greatly appreciated.







    "There are no stupid questions, just stupid people."

  2. #2
    Addicted Member
    Join Date
    Nov 2003
    Location
    India
    Posts
    227
    Try this.
    Dim I as Integer
    For I = 0 to PrevForm.DataGrid1.Columns -1
    PrevForm.DataGrid1.Col = I
    Msgbox PrevForm.DataGrid1.Text
    Next I

    - Jai
    See you,
    -Jai
    [Friends Never Say Good Bye]

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    6

    Exclamation

    'Column' is not a member of 'System.Windows.Forms.DataGrid'.
    'Col' is not a member of 'System.Windows.Forms.DataGrid'.

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