Response.Write

  • Thread starter Thread starter Roshawn Dawson
  • Start date Start date
R

Roshawn Dawson

Hi,

Using Response.Write always writes its contents at the very top of the
..aspx page. Is there any way I can direct where on the page I'd like it
to be written?

Thx,
Roshawn
 
Use an ASP:Literal or ASP:Label and set the value programmatically

Response.Write is hardly used in asp.net

blah blah blah
<b><asp:literal id="x" runat="Server" /></b>

x.text = "SomeValue"

Karl
 
Welcome to the world of ASP.NET. The new and improved way of web
application development. Say bye..bye to Response.Write (even though its
still supported). In ASP.NET we now have very powerful server controls that
allows you to program them just the way you do in a standard desktop
applications (VB6 RAD). I suggest you visit the asp.net website and go
througth the quick start tutorials to get a quick overview of ASP.NET.
 
<body><table><tr><td><% Response.Write("stuff"); %></td></tr></table></body>
 
Back
Top