Variables in ASPX page

  • Thread starter Thread starter Fabrizio
  • Start date Start date
F

Fabrizio

HI,
my problem is that i need to create an aspx page(no code
behind) assigning a variable value to an HTML control (eg
labels, buttons captions).
There is any example on line?
thanks
Fabrizio.
 
If you place HTML controls on a page, and do not use runat=server, you can
work with them the same way you do any other HTML page that submits back to
a server.

For ASP.NET, you will have to pull the values from Request.Form() collection
to process them.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Use the same way as legacy ASP

<input value="<%Response.Write("blahblah")%>"
o
<input value="<%=("blahblah")%>" >
 
Back
Top