Author: Meltdown | Posted on: 9/17/2008 10:45:41 AM | Views : 273


This is an aspx  page with no code-behind file


<script runat="server">

protected void Page_Load (object sender, EventArgs e)
{
  
string tpath = "aib";
        this.DataBind();

}
  
   
</script>


After the body tag and inside an <form id="form1" runat="server"> tag I have

<%# tpath %>


Can anyone tell me why I'm getting an the following error
"The name 'tpath' does not exist in the current context"

...

Go to the complete details ...