.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

what is the way to filter data from dropdownlist to listview and then gridview

Posted By: Habibur Rahman     Posted Date: March 05, 2011    Points:5   Category :ASP.Net
i want to create a application where district data show in dropdownlist then that name show in listview and then that details show in gridview but i faced problem to select data from dropdown list to listview no viewstate are accepeted between dropdownlist and listview

Author: Karthikeyan Anbarasan       [Moderator]      
Posted Date: March 06, 2011     Points: 20   


You can do like below.. First you need to bind to the drop down from database.... In the selected index changed event of the drop down... take the element value and bind the list view container... in the selected index of list box do the same to bind it to the grid view...

Mark as Answer if the answer solves your issue!!!
Author: Maverick             
Posted Date: March 07, 2011     Points: 20   


You need take the selected value from dropdown box on its selected index changed event. Then take that value to bind to listview and the take the selected index from the list box and bond the data to the gridview.



Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend