freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

aspnet個(gè)人賬務(wù)管理系統(tǒng)(編輯修改稿)

2025-01-20 15:00 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 if ([user] != null) { = [user].Value。 } else if ([user] == null) { return。 } } } protected void LinkButton1_Click(object sender, EventArgs e) { ()。 } protected void ImgBtn_Click(object sender, ImageClickEventArgs e) { SqlConnection con = new SqlConnection()。 = @Data Source=.\SQLEXPRESS。Initial Catalog=ReportServer。database=zhangmu。Integrated Security=True。//Integrated Security=true。Data Source=WWW3A034B5863C。database=zhangmu。//Data Source=.\SQLEXPRESS。Initial Catalog=ReportServer。database=zhangmu。Integrated Security=True ()。 SqlCommand cmd = new SqlCommand()。 = Select * from [User] where user=@user and userpwd=@userpwd。 SqlParameter pauser = (@user, , 50)。 SqlParameter pauserpwd = (@userpwd, , 50)。 = 。 = 。 = con。 ()。 13 SqlDataReader dr = ()。 if (()) { Session[userid] = dr[userid].ToString()。 Session[user] = 。 if ( == admin) ()。 else ()。 } else = 用戶名和密碼錯(cuò)誤 。 ()。 } } 注冊(cè)界面 圖 注冊(cè)頁(yè)面 14 代碼: public partial class _Default : { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //生成隨機(jī)數(shù) Random r = new Random()。 int randomNumber = (1000, 9999)。 // 在標(biāo)簽上顯示驗(yàn)證碼 = ()。 // 設(shè)置驗(yàn)證控件的驗(yàn)證值 = ()。 } } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { string filePath = null。 if () { if () { if (CheckFileType()) { filePath = ~/userphotos/ + 。 } else { = 圖片格式不正確 ,必須是 gif、 png、jpg格式 。 15 return。 } } else { filePath = ~/userphotos/。 } region zhuce SqlConnection con = new SqlConnection()。 = @Data Source=.\SQLEXPRESS。Initial Catalog=ReportServer。database=zhangmu。Integrated Security=True。 ()。 SqlCommand cmd = new SqlCommand()。 SqlParameter pausername = (@username, , 10)。 SqlParameter pauserpwd = (@userpwd, , 15)。 SqlParameter pauser = (@user, , 20)。 SqlParameter pauserphotourl = (@userphotourl, , 50)。 SqlParameter pauserdegree = (@userdegree, , 10)。 = 。 = 。 = 。 = filePath。 = 普通會(huì)員 。 = Select user from [User] where user=@user。 = con。 ()。 SqlDataReader dr = ()。 if (()) 16 { ()。 = 郵箱已存在 。 = 。 } else { = 。 ()。 ()。 = insert into [User](username,userpwd,user,userphotourl,userdegree) values(@username,@userpwd,@user,@userphotourl,@userdegree)。 = con。 ()。 ()。 // = 恭喜你注冊(cè)成功 。 (MapPath(filePath))。 = 1。 } endregion // = 請(qǐng)選擇圖片 。 } } bool CheckFileType(string fileName) { string ext = (fileName)。 switch (()) { case .gif: return true。 case .png: return true。 17 case .jpg: return true。 case .jpeg: return true。 default: return false。 } } protected void valPasswordLength_ServerValidate(object source, ServerValidateEventArgs
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1