06 2016 档案
listView 控件加上选择框
摘要:private void livprint_ItemCheck(object sender, ItemCheckEventArgs e) { if (!livprint.Items[e.Index].Checked) //如果点击的CheckBoxes没有选中 { foreach (ListView 阅读全文
posted @ 2016-06-29 15:51 路上有你F 阅读(441) 评论(0) 推荐(0)
?: ?? ? 的区别
摘要:string strParam = Request.Params["param"]; if ( strParam== null ) { strParam= ""; } string strParam= Request.Params["param"] == null ? "": Request.Par 阅读全文
posted @ 2016-06-28 14:09 路上有你F 阅读(286) 评论(0) 推荐(0)
查询视图中的代码 存储过程
摘要:Create view 视图名称 as +查询语句。(只是对Select 的语句的一种封装) aleart 修改视图 Drop 删除视图 exec sp-helptext 查看视图语句 create proc 存储名称 参数列表( 参数名称,多个用逗号隔开) as 自定义代码段 例子: create 阅读全文
posted @ 2016-06-24 14:43 路上有你F 阅读(977) 评论(0) 推荐(0)
文本框只能输入数字
摘要:private void txtSum_KeyPress(object sender, KeyPressEventArgs e) { if((e.KeyChar!=8 && !char.IsDigit(e.KeyChar)) && e.KeyChar != 13&&e.KeyChar!=46) { 阅读全文
posted @ 2016-06-22 08:52 路上有你F 阅读(161) 评论(0) 推荐(0)