9
Answers

Copy all data from datagridview to another datagridview

Nihcas Rednuk

Nihcas Rednuk

7y
251
1
I have created a windows form(C#), in which i have two datagridview . 
datagridview1 has 7 columns (Like Sr.no, Name, Class,Div,Rank,Age,City) 
and datagridview2 has 4 column(Like Sr.no, Name, Class,City) 
i want to copy all the data from the datagridview1 to datagridview2 by a button click, in such a way that my datagridview2 displays all the data from datagridview1. 
Answers (9)