Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: c# datagridview  (Read 4246 times)

0 Members and 1 Guest are viewing this topic.

zaryk

  • Guest
c# datagridview
« on: April 02, 2008, 10:02:38 PM »
ok. So i have a DataGridView with the "example1" "example2" "example3" column headers.  I have searched for an answer through google but havent found anything to help me add information to the DataGridView.  If someone can help me insert information into the first row of the DataGridView based on the headers, I can figure out how to insert based on array of directory files.  Any Ideas? thanks.

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: c# datagridview
« Reply #1 on: April 03, 2008, 05:01:56 AM »
I found this on another forum but it may apply in your case.

Quote
I have searched for an answer through google but havent found anything

The Help feature that came with your product is an excellent primary source of information.  8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

zaryk

  • Guest
Re: c# datagridview
« Reply #2 on: April 04, 2008, 10:03:11 AM »
im afraid that didnt help too much.  Any other ideas.

zaryk

  • Guest
Re: c# datagridview
« Reply #3 on: April 05, 2008, 07:35:14 PM »
ok.  I found out on my own how to do this.  May not be the best way but, all i had to do was put my search directory code right up under InitializeComponent(); and in the foreach statement put Info.DataGirdView.Rows.Add(dir)