[Mono-devel-list] Sentence <%@ Page Language="VB" %> and Sub-EndSub senteces

Bec-Penya, Luis {IT-O~Terrassa} luis.bec-penya at Roche.COM
Fri Mar 12 05:52:39 EST 2004


I do an ASP.NET page (.aspx) and I programming in VB, but when I use de
directives
 
<%@ Page Language="VB" %>
<Script Runat="Server">
Sub Button_Click ( s As Object, e As EventArgs )
                        field2.Value = field1.Value
EndSub
</Script>
 
<html>
<head><title> CopyField.aspx </title></head>
<body>
 
<form Runat="Server">
            <b>Field 1:</b>
            <br><input id="field1" size="30" Runat="Server">
            <p>
            <b>Field 2:</b>
            <br><input id="field2" size="30" Runat="Server">
            <p>
            <input type="submit" OnServerClick="Button_Click"
Runat="Server">
</form>
 
</body>
</html>
 
doesn't work, but not appear an compilation error else  a request time
out on browser. I don't know how can I solve this, but when I don't use
the   Sub - EndSub  sentences the pages works ok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040312/3600a088/attachment.html 


More information about the Mono-devel-list mailing list