Author: Turb0n3tics | Posted on: 6/16/2008 1:29:13 AM | Views : 422

 im working on an asp.net file and i've hit a snag.

i always get this error "The name 'UserID' does not exist in the
current context". This error is occuring along the lines of the html
codes. Can anione tell me why this error occurs, even when i have
declared the UserID in the <script> section? This is an aspx /
asp.net file.





<script>

protected void page_load(object sender,EventArgs e){

string ttype = request.querystring["appName"];

string tUserid = request.querystring["userid"];

string tUserpw = request.querystring["userpw"];



string (blah blah blah blah blah blah);

}

</script>

<html>

<head>

<title></title>

</head>
<body>

<form name="loginform2" id="loginform2" method="post" action="http://www.something.co ...

Go to the complete details ...