Results 1 to 2 of 2

Thread: DataGird A Row

  1. #1
    Frenzied Member
    Join Date
    Jun 03
    Location
    Auckland
    Posts
    1,134

    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 99
    Location
    Sweden
    Posts
    13,440

    Re: DataGird A Row

    Moved to the WPF forum
    Joacim Andersson
    Microsoft MVP, MCSD, MCSE, Sun Certified Java Programmer
    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.

Posting Permissions

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