作业帮 > 综合 > 作业

lblhtyhm.Visible = true; this.lblhtyhm.Text = Session["UserN

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/07/05 00:13:45
lblhtyhm.Visible = true; this.lblhtyhm.Text = Session["UserName"].ToString(); string ContId = Requ
求解释一下
lblhtyhm.Visible = true; this.lblhtyhm.Text = Session[
基本含义如下:
lblhtyhm.Visible = true;lblhthhm是一个控件的名称,设置visible属性为true,表示这个控件是可见的.
this.lblhtyhm.Text = Session["UserName"].ToString();这个控件上显示的是用户名.
string ContId = Requ这行不完整,应该是给字符串赋值.