Results 1 to 2 of 2

Thread: [RESOLVED] [2005] vb6 2 vb2005 - Add row to DataGrid

  1. #1

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Resolved [RESOLVED] [2005] vb6 2 vb2005 - Add row to DataGrid

    Hello.
    My old app in VB6 reads a textfile and then inputs each line of that file in a row of a MSHFlexGrid object. I know how to read the content file, but I don't know how to fill the DataGrid with my textfile content.
    How can I do this?
    Thank you

  2. #2

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: [2005] vb6 2 vb2005 - Add row to DataGrid

    Ok, I got it!
    Here´s the code:

    Code:
    '...
    Me.DataGridView1.Rows.Add(string)
    '...

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