摘要: 功能描述:  实现改变一行数据状态的值  repeater 中用 dropdownlist 绑定一行状态的属性,用来改变行的状态(类似于isShow),通过HiddenField 绑定该行的ID,后台得到该ID的值去改变这一行的状态.前台代码:前台代码后台代码:[代码]SelectedValue必须用%# Bind("isOn")%绑定AutoPostBack属性为trueOnSelectedIndexChanged加上该事件ddl1.NamingContainer as RepeaterItem).ItemIndex通过选中的 dropdownlist 得到该行的索引 并找到该行Hidd 阅读全文
posted @ 2010-12-29 11:16 仰天長嘯 阅读(653) 评论(0) 推荐(0) 编辑
摘要: ffsdfsdfsdf sdfsdf sdf sd f fd d d 阅读全文
posted @ 2010-12-23 08:46 仰天長嘯 阅读(104) 评论(0) 推荐(0) 编辑
摘要: [代码]1-5  按照先后顺序,导入 Datepicker 需要的准备文件。PASS:4   日历控件的中文显示 ,jquery官网提供中文显示5   在使用国际化同时启用changeYear和changeMonth后,两个select显示为两行  在官方提供的jquery-ui-1.7.2.custom.css中,应该作如下几处修改:.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }.ui-datepicker select.ui-datepicker-month-ye 阅读全文
posted @ 2010-12-22 15:13 仰天長嘯 阅读(2908) 评论(2) 推荐(0) 编辑
摘要: Hashtable ht = (Hashtable)ViewState["htL"]; DataTable dt = (DataTable)ViewState["dtL"]; if (ht.IsNotNullOrEmpty() && dt.IsNotNullOrEmpty()) { foreach (DictionaryEntry de in ht) { foreach (DataRow dr in dt.Rows) {       //执行操作 if (de.Key.ToInt() != dr["accountId"].ToInt()) { } } } }Hashtable 是字典集合,需要 阅读全文
posted @ 2010-12-22 09:04 仰天長嘯 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 記錄工作日誌! 阅读全文
posted @ 2010-12-20 10:03 仰天長嘯 阅读(110) 评论(0) 推荐(0) 编辑
2222222222