(1) 登陆页面的代码 protected void Button1_Click(object sender, EventArgs e) //登陆代码 { try { objOleConnection = new OleDbConnection(); objOleConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = " + "F:\\EBussiness\\UserInfor.mdb"; objOleConnection.Open(); string InputUserName = TextB