I have a gridview in one page of website which contains columms of table1 i.e. ID, EMPLOYEE NAME, DESIGNATION and SALARY etc.
On the other page thr is a dropdownlist which contains years from 2007 to 2016.
if i select any year anothr gridview will appear which contains columns of table2 but i also want to get few columns of previous gridview.
Can anyone plz help me in sorting out this prblm in visual studio 2008 using c#.

May I ask how are you getting the records in the first gridview in the firstplace, are you using a datatable, a List<ofCustomType> or something else ? Do you have the option of altering the data of any of the gridviews and if you are is it suppose to change in both of the gridviews ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.