Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
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 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
Speech Technology Magazine
Integrating Silverlight 4 with SharePoint 2010 - Free 42 Page Sample Chapter
Easing the Migration to Microsoft SQL Server 2005