Author: capiono | Posted on: 10/6/2010 11:48:41 AM | Views : 400

can anyone tell me why I'm getting "CS1002: ; expected" error at line 11 and a possible solution.


<body onload="javascript:document.loginform.submit()">
Line 10: <form action="myURL" method="post" name="loginform">
Line 11: <input type="hidden" name="CAMUsername" value="<% Response.Write(_User.UserName) %>">
Line 12: <input type="hidden" name="CAMPassword" value="<% Response.Write(_User.PassWord) %>"> Line 13: </form>


In the code behind I have this in the Page_Init event.

private UserAccessInfo _User;

Go to the complete details ...