Response.Write

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
 
K

Karl Seguin

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
 
T

Tampa.NET Koder

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.
 
R

Robbe Morris [C# MVP]

<body><table><tr><td><% Response.Write("stuff"); %></td></tr></table></body>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,073
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top