public void getuser(string getuser)// 接收由母網頁傳來的資訊 { JuicDao dao = new JuicDao("MENU"); var GetUsername = dao.GetUsername(getuser); LabeluserID.Text = getuser; if (GetUsername.Rows.Count != 0) { LabeluserName.Text = GetUsername.Rows[0]["username"].ToString(); } }