Nihcas Rednuk

Nihcas Rednuk

  • NA
  • 15
  • 10.8k

Copy all data from datagridview to another datagridview

Apr 5 2017 2:38 PM
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)