|
 |
aspx_beginners thread: response.write
Message #1 by "Mrinal Srivastava" <mrinal.srivastava@p...> on Tue, 13 Aug 2002 12:51:54 +0530
|
|
Hi all,
I think my problem boilds down to finding out whatz the equivalent of
response.write() (VB Code) when using C# in ASP.NET.
HELPPPPPPPPP
Message #2 by "Mrinal Srivastava" <mrinal.srivastava@p...> on Tue, 13 Aug 2002 12:58:55 +0530
|
|
Hi all,
Please ignore my previous mail. The answer is as simple as changing
response.write to Response.Write.
Thanks nonetheless.
Regards
Mrinal
-----Original Message-----
From: Mrinal Srivastava [mailto:mrinal.srivastava@p...]
Sent: Tuesday, August 13, 2002 12:52 PM
To: aspx_beginners
Subject: [aspx_beginners] response.write
Hi all,
I think my problem boilds down to finding out whatz the equivalent of
response.write() (VB Code) when using C# in ASP.NET.
HELPPPPPPPPP
Message #3 by David Barnes <DavidB@w...> on Tue, 13 Aug 2002 10:56:25 +0100
|
|
Hi Mrinal
Here's some code that will do the job:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<%@ Page Language="C#" %>
<html>
<head>
</head>
<body>
<%
for (int i=0; i<10; i++) {
Response.Write("Mrinal <BR>");
}
%>
</body>
</html>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
'response.write' won't work in C# because C# is case sensitive -- but
Response.Write is cool.
Hope this helps.
David Barnes
Editor, Wrox Press
> -----Original Message-----
> From: Mrinal Srivastava [mailto:mrinal.srivastava@p...]
> Sent: Tuesday, August 13, 2002 8:22 AM
> To: aspx_beginners
> Subject: [aspx_beginners] response.write
>
>
> Hi all,
> I think my problem boilds down to finding out whatz the equivalent of
> response.write() (VB Code) when using C# in ASP.NET.
> HELPPPPPPPPP
>
>
>
|
|
 |