The code behind is a class. you need to define the variable as a class
variable & tell the html code:
<%=this.custID%> .. perhaps some modification in the access modifier of the
variable will be required,like define it as protected or even public
Angel
O:]
"Tome73" <To****@discussions.microsoft.com> wrote in message
news:93**********************************@microsof t.com...
I'm new to .NET-
How can I get my html page to display the custID variable --- Customer
<b><%# custID %> --- when the variable is declared in the code behind
page? It works just fine when using a code render block on the same page.