创建一个学校管理系统网站,可以给别人用的那种

建立一个学校管理系统,有管理员登录,教师登录,学生登录,选课管理等等,最好用my eclipse里的建立web工程来做

http://www.docin.com/p-657285134.html
http://download.csdn.net/detail/ydphaha/1324815
http://download.csdn.net/download/webrsy/2104881

估计是大一的课程设计

估计是大一的课程设计

这个东西得有比较明确的需求文档才好给你做。

不是很难的,先简单的入手。想想怎么单类用户单个课程怎么弄先。
不要一下子想做好。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



无标题页





























用户登录

用户编码

/asp:TextBox

密码

/asp:TextBox

用户类型




输入验证码

/asp:TextBox验证码:
/asp:Label区分大小写 Text="看不清" />


         

</div>
</form>


cs代码:using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.Sqlclient;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
    string Textbox1 = this.TextBox1.Text.ToString().Trim();
    string Textbox2 = this.TextBox2.Text.ToString().Trim();
    string Textbox3 = this.TextBox3.Text.ToString().Trim();
    string sql="";
    if (Textbox1 == "" || Textbox2 == "" || Textbox3 == "")
    {
        Response.Write("<script>alert('请输入相应的信息!!')</script>");
    }
    else if (TextBox3 != Label1.Text)
    {
        Response.Write("<script>alert('验证码输入错误!!')</script>");
    }
    else
    {

    }
}

}