filter by dropdownlist

williamLOR

Member
Joined
Aug 3, 2005
Messages
9
Programming Experience
Beginner
Dear folks,
I'm doing a leave application form.Inside my web form, i need let superior to approve/reject applicant form. So, i use 2 dropdown list to filter out my record.
Example, Status dropdownlist and Date dropdownlist. For status, i can filter out by pending/Approved.
Got any idea how to write the code?My idea is after i select the status, it will refresh and pass my record into datagrid. i'm newbie in Asp.net. Please share your comment at here.
free to chat.
 
Hi williamLOR,

I have few Questions -

Is the datagrid in the same page as the dropdownlists???
In that case u need to pass ur record into the datagrid in the selectedindex changed event of the dropdownlist.

If the datagrid is in another page then pass the value u chose in the dropdownlist as a querystring.


If this answer is not satisfactory,then plzzzz let me know the problem u r facing in detail.

May b i can help u out..

Happy programming !!!!

GKG
 
Back
Top