Asp.Net Hein

Asp.Net Hein

  • NA
  • 266
  • 159.2k

Show data from database with dropdown list data

May 25 2015 12:01 AM
How to show the gridview from the database upon the data of dropdown list.
 ***With Linq***
 *** Not LAYERING *** 
The logic of my question is like that!!!
 
< I have one text box that can enter id or name. If the textbox data is in database, I will bind other data of the value in textbox to the drop down list.>
I already done this part.
 
Now I want to know is I will select from dropdown list, and then click one button to view the information with gridview.
That gridview will show
(1) check all the dropdown list
(2) check the id or name is fit with the dropdown list data that has choosen.
(3) If the id or name is fit with all dropdown list selected value, I will show the gridview. Otherwise I will show error. 
 
Please help me to solve my problem. Thanks a lot for viewing my question. :-) 
 

Answers (3)