You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
671 B
16 lines
671 B
using System;
|
|
using System.Data;
|
|
|
|
public partial class personal : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
Label9.Text = "你好" + Session["username"];
|
|
Label10.Text = "<a href='" + "Gbook.aspx?uid=" + Request.QueryString["uid"] + "'>留言</a>";
|
|
Label11.Text = "<a href='" + "logout.aspx'>" + "注销</a>";
|
|
DBClass db1 = new DBClass();
|
|
if (!String.IsNullOrEmpty(Request.QueryString["uid"])) //获取传递的uid
|
|
{
|
|
string uid = Request.QueryString["uid"]; //参数值获取
|
|
string strsql = "select * from register where id=" + uid;//编写查询语句
|