计算机专业毕业设计:[96]会员编辑功能
1、打开网站源程序,在【news】文件夹上单击右键,选择【添加新项】
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/bab5c45872dade49228975e226042e6816e9d5de.jpg)
2、选择【Web窗体】命名为:User_Edit.aspx,点击【添加】这个界面的作用是显示传递过来的用户信息,并进行修改
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/cd93a5665159854042acfa56b5a23a42a17ac4de.jpg)
3、设计编辑界面如图所示效果
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/a31e1214c27bd282e60f5ff23cb1eef97ebd36df.jpg)
4、打开用户管理界面【User_Manager.aspx.cs】书写编辑按钮的代码Page.Response.Redirect("稆糨孝汶;User_Edit.aspx?new_id=" + Strid);
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/e076d77622bc7dc5a0e1d5eb5e460596b91429df.jpg)
5、在【User_Edit.aspx.cs】页面,接收用户的ID号
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/32fe25ef354f50b8cab8566fdc4afa32929c18df.jpg)
6、读取并显示用户信息lbluser_id.Text=ID; txtUser_name.Text=myreader["user_name&鳎溻趄酃quot;].ToString(); txtuser_password.Text = myreader["user_password"].ToString(); txtregister_time.Text = myreader["register_time"].ToString(); lbllast_reg_time.Text = myreader["last_reg_time"].ToString(); txtcredit.Text=myreader["credit"].ToString(); txtEmail.Text=myreader["Email"].ToString(); lblError.Text=myreader["error"].ToString();
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/f59dbe39131fceec5e5f97c179c4ec9958430bdf.jpg)
7、点击会员列表界面的【编辑】按钮
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/3852f6e5eceeadbc23a9b9c4cd18dfdae53b7bdf.jpg)
8、在编辑界面,可以显示出相应用户的信息
![计算机专业毕业设计:[96]会员编辑功能](https://exp-picture.cdn.bcebos.com/04201aa355e983ae4751a79e68efe078153169df.jpg)