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


Top 5 Contributors of the Month
Easy Web
Imran Ghani

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

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

Hi,

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...

Thanks
Karthik
http://www.f5debug.net
Mark as Answer if the answer solves your issue!!!
Author: Maverick             
Posted Date: March 07, 2011     Points: 20   

Hello,

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.

Thanks,
Maverick

Thanks,
Maverick


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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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