Anthony Clarke

Anthony Clarke

  • NA
  • 127
  • 0

Please help - datagridview

Dec 11 2010 12:37 PM

Hi,
I want to populate a datagrid view with quite a bit of random data but dont want to have to keep using
datagridview.columns.add("etc")
datagridview.rows.add("etc")
a few hundread times and was wondering whether there is a quick method for this.
Something like
for (int i = 0; i < int 100; i++;
{
datagrid.columns.add("1", "2", "3", "4")
datagrid.rows[i].add(rnd 10000)
}
 
Thank you for your time
Regards
Anthony

Answers (5)