kjohnson530
IS-IT--Management
I'm new to .net and I've created a bound gridview. The gridview displays all records upon opening. I'd like to be able to drilldown into the data with a searchbox.
Is there an easy way using aspx.vb to do this.
Please be patient as my coding skills are pretty weak at this point?
beleow is my code
Is there an easy way using aspx.vb to do this.
Please be patient as my coding skills are pretty weak at this point?
beleow is my code
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml">[/URL]
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="CustomerList" runat="server"
AutoGenerateColumns="False" CssClass="GridView1" DataSourceID="SqlDataSource1" >
</asp:GridView>
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ITConnectionString %>"
OldValuesParameterFormatString="original_{0}" >
</asp:SqlDataSource>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Search" />
</form>
</body>
</html>