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.......

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

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

You can create a datatable manually and then bind datagridview with that table.

i got solution for the above problem



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

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