DataGird A Row-VBForums
Results 1 to 2 of 2

Thread: DataGird A Row

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2003
    Location
    Auckland
    Posts
    1,139

    DataGird A Row

    I'm wanting to add a row to my WPF application.

    I'm looping through all files in a folder and if it meets some conditions i'll populate them in my Gird. (Conditions not in code yet)

    However I can't seem to even add a row to my DataGrid. Why? What's wrong

    vb.net Code:
    1. For Each File In Directory.GetFiles(filepath)
    2.                     myDG.Items.Add(New String() {"11", "22", "33", "44", "55", "66"})
    3.                 Next

    (it loops though my files okay)

  2. #2
    Super Moderator Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,435

    Re: DataGird A Row

    Moved to the WPF forum
    Joacim Andersson
    If anyone's answer has helped you, please show your appreciation by rating that answer.
    I'd rather run ScriptBrix...
    Joacim's view on stuff.

    MVP

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.