学⽣学籍管理系统页⾯源代码html_学⽣信息管理系统系统源
代码
. . . .
.
word
. .
系统源代码
⼀、登录界⾯代码
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 login : System.Web.UI.Page
{
protected void txtid_Click(object sender, EventArgs e)
{
txtid.Text = "";
txtpassword.Text = "";
}
protected void Button1_Click(object sender, EventArgs e)
{
string strconn = ConfigurationManager.AppSettings["connStr"];
SqlConnection conn = new SqlConnection(strconn);
conn.Open();
DataSet
ds=new DataSet
() ;
SqlDataAdapter da = new SqlDataAdapter("select * from users where userid='" + txtid.Text
+ "' and userpwd='" + txtpassword.Text + "'", conn);html导航源码
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论