Compiler Error Message: CS0433: The type 'proto.Class1' exists in both
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="proto.Login" Src="Class1.cs" %>
if (username.Text.Equals("") || password.Text.Equals("") || level.Text.Equals("") || name.Text.Equals("") || employeeNo.Text.Equals("") || surname.Text.Equals("") || gender.Text.Equals("")) { string alert = "Please fill all fields as they are all required"; ClientScript.RegisterStartupScript(Page.GetType(), "validation", "<script language='javascript'>alert('" + alert + "')</script>"); } else { Class1 validate = new Class1();
Class1
proto
partial
c:\Users\MPS\AppData\Local\Temp\Temporary ASP.NET Files\
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)