So, here is my ASPX page (html). I built this in VB .NET. I used the Data controls to connect to the database (Access) Got a DBDataAdapter, DBConnection, and dataset in the screen. How do I see what is in the codebehind? When I built the dataset why doesn't it show up in this code? What am I doing wrong?
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Data" %>
<HTML>
<HEAD>
<title>New Page 1</title>
<script language="vb" runat="server">
Sub Page_Load(Sender As Object, E as EventArgs)
End Sub
</script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
</HEAD>
<body>
<form id="newForm" method="post" runat="server">
<asp:datagrid id=DataGrid1 runat="server" AllowSorting="True" DataSource="<%# dataSet1 %>">
<HeaderStyle BorderStyle="Outset" BorderColor="Black" BackColor="#FFC080"></HeaderStyle>
<SelectedItemStyle BorderColor="Red"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#E0E0E0"></AlternatingItemStyle>
</asp:datagrid>
</form>
</body>
</HTML>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Data" %>
<HTML>
<HEAD>
<title>New Page 1</title>
<script language="vb" runat="server">
Sub Page_Load(Sender As Object, E as EventArgs)
End Sub
</script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
</HEAD>
<body>
<form id="newForm" method="post" runat="server">
<asp:datagrid id=DataGrid1 runat="server" AllowSorting="True" DataSource="<%# dataSet1 %>">
<HeaderStyle BorderStyle="Outset" BorderColor="Black" BackColor="#FFC080"></HeaderStyle>
<SelectedItemStyle BorderColor="Red"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#E0E0E0"></AlternatingItemStyle>
</asp:datagrid>
</form>
</body>
</HTML>