Click here to Skip to main content
15,896,408 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have 2 Gridviews (tableA and tableB) and 1 dropdownlist (ddlYear) tableA have a lists of staff number and name. When select a staff from tableA, data of the staff will display in tableB (tableB header have year,qty, rate). And it will only display the current year (past year will not be display on tableB).

This is where dropdownlist comes in. When i select past year '2014' from the dropdownlist, tableB will display 2014 data on that particular staff which was selected. How to display data in tableB when past year is selected from ddl?
Posted
Updated 23-Apr-15 20:22pm
v2
Comments
Suvendu Shekhar Giri 24-Apr-15 2:27am    
You haven't shared any code, so it's not easy to write complete code. Why cann't you filter data using WHERE for the selected year? Is there any difficulty?
Maciej Los 24-Apr-15 3:07am    
What have you done till now? Where are you stuck?
Jacob Himes 30-Apr-15 4:58am    
Also, what platform are we talking about here, WPF, windows forms, web forms...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900