i have 7 textboxes one search button and one gridview...user enter input in anyone textbox for search the datas.....and the result should be displayed in gridview. using javascript .How to do this.please any one send me the answer
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333"
GridLines="None"
Width="933px" onrowdatabound="GridView1_RowDataBound"
>
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:HyperLinkField DataTextField="FirstName" HeaderText="FirstName"
NavigateUrl="~/SaveContacts.aspx" />
<asp:BoundField DataField="LastName" HeaderText="LastName"
SortExpression="LastName" />
<asp:BoundField DataField="Address1" HeaderText="Address1"
SortExpression="Address1" />
<asp:BoundField DataField="Address2" HeaderText="Address2"
SortExpression="Address2" />
<asp:BoundField DataField="State" HeaderText="State"
SortExpression="State" />
<asp:BoundField DataField="City" HeaderText="City"
SortExpression="City" />
<asp:BoundField DataField="Phone" HeaderText="Phone"
SortExpression="Phone" />
<asp:BoundField DataField="Mobile" HeaderText="Mobile"
SortExpression="Mobile" />
<asp:BoundField DataField="ZIP" HeaderText="ZIP"
SortExpression="ZIP" />
<asp:BoundField DataField="EmailID" HeaderText="EmailID"
SortExpression="EmailID" />
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
</asp:GridView>
</p>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:contactsConnectionString4 %>"
SelectCommand="SELECT FirstName,LastName,Address1,Address2,State, City, Phone, Mobile, ZIP, EmailID FROM addcontacts where (FirstName LIKE '%' + @FirstName + '%') AND (LastName LIKE '%' + @LastName + '%') AND (Address1 LIKE '%' + @Address1 + '%') AND (State LIKE '%' + @State + '%') AND (City LIKE '%' + @City + '%') AND (ZIP LIKE '%' + @Zip + '%') AND (EmailID LIKE '%' + @EmailID + '%')""
FilterExpression ="FirstName='{0}'">
<FilterParameters >
<asp:QueryStringParameter Name ="FirstName" QueryStringField ="FirstName" />
<asp:Parameter Name ="LastName" Direction ="Output" DefaultValue ="0" />
<asp:Parameter Name ="Address1" Direction ="Output" DefaultValue ="0"/>
</FilterParameters>
</asp:SqlDataSource>