T
tshad
I have some code that works at work but not at home.
I am using VS2002 at home and get the following error:
The type or namespace name 'div' could not be found (are you missing a using
directive or an assembly reference?)
My code behind page as:
*******************************************
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace WebApplication4
{
/// <summary>
/// Summary description for WebForm1.
/// </summary>
public class WebForm1 : System.Web.UI.Page
{
protected div Message;
public void Page_Load(object sender, System.EventArgs e)
{
//we create the base class below:
Profile profile = new Profile();
********************************************************
In my aspx file I have:
<div id="Message" runat="server"></div>
What is causing the message?
Thanks,
Tom
I am using VS2002 at home and get the following error:
The type or namespace name 'div' could not be found (are you missing a using
directive or an assembly reference?)
My code behind page as:
*******************************************
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace WebApplication4
{
/// <summary>
/// Summary description for WebForm1.
/// </summary>
public class WebForm1 : System.Web.UI.Page
{
protected div Message;
public void Page_Load(object sender, System.EventArgs e)
{
//we create the base class below:
Profile profile = new Profile();
********************************************************
In my aspx file I have:
<div id="Message" runat="server"></div>
What is causing the message?
Thanks,
Tom