[Mono-devel-list] Re: [mono-vb] AW: VB script in ASP page
Raja R Harinath
rharinath at novell.com
Wed Aug 18 02:01:18 EDT 2004
Hi,
"B Anirban" <banirban at novell.com> writes:
> Oh Great. This is a great news.
>
> But its really surprising why the problem is occurring. It seems that mbas compiler is going wrong while trying to resolve overloaded methods and calling function calls HtmlTextWriter.Write(int) instead of HtmlTextWriter.Write(string).
>
> Now, I am even more puzzled :-).
>
>>>> "Jochen Wezel" <jwezel at compumaster.de> 17-Aug-04 5:54:46 PM >>>
> The problem Anirban described, I only get when I try to use <%= %> or <% %>.
>
> Example not working:
> ====================
> <%@ PAge language="VB" %>
> <html>
> <body>
> <% response.write ("Inside of Page_Load<br>") %>
> Hello world of VB!
> </body>
> </html>
>
> Example working :)
> ==================
> <%@ PAge language="VB" %>
> <html>
> <body>
> <script language="vb">
> sub Page_Load (sender as object, e as eventargs)
> response.write ("Inside of Page_Load<br>")
> end sub
> </script>
> Hello world of VB!
> </body>
> </html>
Not actually surprising, since the error case was on __output.Write, not
response.Write.
- Hari
More information about the Mono-devel-list
mailing list