Posted on: 8/30/2014 6:54:55 PM | Views : 371

Hello all
I want to make a textbox search for 2 condition and a button click for search. The condition is 2 column from my dbase. So, when i write one of them, the result display in a gridview. The problem is , i have no idea how to make code for it.
This is my textbox and button search
<td> SR Number / VOW Number </td> <td> &nbsp;:&nbsp</td> <td><asp:TextBox ID="tbVOASearch" runat="server"></asp:TextBox> </td> <td><asp:Button ID="btnSearch" runat="server" Text="Seacrh" OnClick="btnSearch_Click" /></td> This is my Query Dbase, and i want to search by vow_number or AribaSRNumber.
String sql = @"SELECT [VOW_NUMBER] ,[AribaSRNumber] ,[WAPNumber] ,[SUBMITTED_DT] ,[SUBMITTE ...

Go to the complete details ...