什么叫"未将对象引用设置到对象的实例" 财富值52

2016-05-09 23:05发布

1110 1 0

行 10:     protected void Page_Load(object sender, EventArgs e) 行 11:     { 行 12:         string scriptContent = Request.QueryString["user"].ToString() + ",欢迎您!请记住您的密码:" + Request.QueryString["password"].ToString();行 13:         Response.Write(scriptContent); 行 14:         string scriptString = "aler('" + scriptContent + "');";  


源文件: e:ASP练习CH5_EX5-4_TextBox控件Content5-4.aspx.cs    行: 12


自定义标题
段落格式
字体
字号
代码语言
1条回答

null值不能进行ToString

访问Content5-4.aspx的页面需要带user和password参数

比如http://localhost/Content5-4.aspx?user=AlexTaos&password=Taos

68人赞 添加讨论(1) 举报

一周热门 更多>