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.

Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 11, 2017, 10:07 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 5, 2017, 10:57 AM EDT
Jitendra ShekhawatRank #1,909 · 772 reputationPosted Apr 5, 2017, 9:33 PM EDT
Nihcas Rednuk15 reputationPosted Apr 5, 2017, 9:47 PM EDT
Nihcas Rednuk15 reputationPosted Apr 5, 2017, 10:10 PM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 5, 2017, 10:19 PM EDT
Nihcas Rednuk15 reputationPosted Apr 5, 2017, 10:34 PM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 5, 2017, 11:32 PM EDT
Nihcas Rednuk15 reputationPosted Apr 11, 2017, 7:21 AM EDT