0

hi,

i need to add the information into the datagridview manually. i searched in google and books. they fill the datagridview by using
Datasource method. but i need to add at compile time

please share ur ideas.......

3
Contributors
6
Replies
8
Views
8 Years
Discussion Span
Last Post by LizR
0

You havent done that much reading then. make a data source in memory, and assign it to the datagrid view.

0

i need to add the data into the datagridview without using datasource method.
any direct method present please share ur ideas.

0

i got solution for the above problem


dataGridView1.Rows.Add(<value>,<value>,<value>,.....);

0

hi,

i used the above code. its add only one row. ok i need to add some rows at run time. what can i do

0

add data for all the rows you want.. This just shows you're being incredibly lazy

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.