We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,613 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

select dropdownlist value and display gridview

I add dropdown list in the form, connect with gridviev1 from table1. But I have 4 tables. I have 4 values in the drop down list.

1 when check value 1 show table1

2 when check value 2 show table2

3 when check value 3 show table3

4 when check value 4 show table4

Where I could find the code? tnx

2
Contributors
2
Replies
4 Hours
Discussion Span
11 Months Ago
Last Updated
3
Views
zemzela
Newbie Poster
10 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Its going to be challenging to provide you with actual code based on your description. If I understand what you want is to show data from a specific table depending on the value of the dropdown item that is selected. You should be able to do this from the code-behind (event will depend on if you want to capture the item on post back, or will you require the user to click on a submit button, etc.).

For help with asp.net, I always recommend that people start by accessing Microsoft's official site: http://asp.net

JorgeM
Senior Poster
3,997 posts since Dec 2011
Reputation Points: 294
Solved Threads: 543
Skill Endorsements: 115

Thanks for replay but I couldn't realise that. I tried to find apropriate tutorial or something like that, but I couldn't find. Could you send me link with solution for my problem? thank you

zemzela
Newbie Poster
10 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.1108 seconds using 2.71MB