AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 selected index changed
Posted by komail on  2/18/2010 2:16:25 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
asp.net 2.0 with sql server 2000,windows xp

displaying the records in gridview as per selecting the data from dropdownlist

Post Your Reply Post New Question

 Viewer's Reply
Selected Index Changed
Answered By Ehsan Eskandarimashhadrizeie on 2/19/2010 10:04:26 AM
Hi Komail,
First off you should enable auto post back property of dropdown list to true.
then write public method for filling gridview. Finally at the method of selected index changed of the dropdown list call the fillTheGridview.
At the fillThe Gridview you should make your connection string by using selected value of dropdown list.
I hope this could help you.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Sexy Web Design - Free 71 Page Preview!
Simply SQL - Free 111 Page Preview!
Washington Technology