TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohd Aamir
NA
68
4.5k
why am i getting error in my login page
Sep 17 2018 3:45 AM
here is the code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginForAdmin.aspx.cs" Inherits="admin_LoginForAdmin" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>User_ID:</td>
<td><asp:TextBox ID="txtuserid" runat="server"></asp:TextBox></td>
<td></td> <asp:RequiredFieldValidator ID="rfvuserid" runat="server" ControlToValidate="txtuserid" ErrorMessage="Please enter userid"/>
</tr>
<tr>
<td>Password:</td>
<td><asp:TextBox ID="txtpassword" runat="server"></asp:TextBox></td>
<td><asp:RequiredFieldValidator ID="rfvpassword" runat="server" ControlToValidate="txtpassword" ErrorMessage="Please enter Password"/></td>
</tr>
<tr>
<td></td>
<td><asp:Button ID="btnlogin" runat="server" Text="Login" OnClick="btnlogin_Click" /></td>
</tr>
<tr>
<td></td>
<td><asp:Label ID="lblerror" runat="server"></asp:Label></td>
</tr>
<tr>
<td></td>
<td><asp:Label ID="lbllgnsuccess" runat="server"></asp:Label></td>
</tr>
</table>
</div>
</form>
</body>
</html>
error is :-
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The file '/admin/LoginForAdmin.aspx.cs' does not exist.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginForAdmin.aspx.cs" Inherits="admin_LoginForAdmin" %> Line 2: Line 3: <!DOCTYPE html>
Source File: /admin/LoginForAdmin.aspx Line: 1
Reply
Answers (
4
)
Xamarine.Android Giving Below Error
I am unable to install xamarine packages in vs17 from Nuget