摘要: 今天发现了个问题,在jquery中给 Label标签赋值后台是取不到的,因为Label是显示值的控件,不能进行赋值。后台:Label1.Text还是 Label 取不到值。HiddenField1.Value="值11";因此向后台传值 的时候最好还是用隐藏域控件。 阅读全文
posted @ 2014-02-12 18:38 码农沐沐 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 10 我要点评|| 11 12 13 14 15 16 17 18 环境: 19 20 ... 阅读全文
posted @ 2014-02-12 18:17 码农沐沐 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 运用三目运算符 判断读取的 数据是否为空,然后进行数据的转换.reader["id"]==null ? 0 : Convert.ToInt32(reader["id"]) 错reader["id"].ToString()=="" ? 0 :Convert.ToInt32(reader["id"]) 对 阅读全文
posted @ 2014-02-12 17:58 码农沐沐 阅读(2013) 评论(0) 推荐(0) 编辑