Author: proguser7 | Posted on: 6/8/2010 2:39:03 PM | Views : 293

Hi All,
 
I got DDL1: 10 miles
                   20 miles
 
TextBox1 : 'AAA20'
 
Button:
 
When user selects 10 miles from dropdownlist DDL1 and types AAA20 in textbox1 which is of type text, on button click it has to pull all the columns from database and show results in gridview using sqldatasource store procedure. I'm stuck in server side code..how to pull the data..in store procedure I'm passing two parameters val1 and val2. val1 gets data from DDL1 and val2 gets data when user types in textbox1 and it has to validate the text...please see the code below mentioned and tell me how to pass the params and get the data in gridview...
 
      <asp:DropDownList          &n ...

Go to the complete details ...