M
Morris Neuman
Hi,
If I am not using a code behind page (.aspx.cs), where in the regular
content page would I include the using command (e.g. using System.Data.OleDb)?
The start of my aspx page is as follows:
<%@ Page Language="C#" MasterPageFile="~/MasterPage1.master"
Title="Admin-Manage Distribution List" %>
<script runat="server">
protected void LinkButton2_Click(object sender, EventArgs e)
{
DetailsView1.Visible = true;
SetFocus(DetailsView1);
//DetailsView1.Focus();
}
protected void DetailsView1_ItemInserted(object sender,
DetailsViewInsertedEventArgs e)
{
GridView1.DataBind();
}
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<br />
<strong><span style="color: #000080; font-family: Verdana">
If I am not using a code behind page (.aspx.cs), where in the regular
content page would I include the using command (e.g. using System.Data.OleDb)?
The start of my aspx page is as follows:
<%@ Page Language="C#" MasterPageFile="~/MasterPage1.master"
Title="Admin-Manage Distribution List" %>
<script runat="server">
protected void LinkButton2_Click(object sender, EventArgs e)
{
DetailsView1.Visible = true;
SetFocus(DetailsView1);
//DetailsView1.Focus();
}
protected void DetailsView1_ItemInserted(object sender,
DetailsViewInsertedEventArgs e)
{
GridView1.DataBind();
}
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<br />
<strong><span style="color: #000080; font-family: Verdana">