会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
临冰听雪丶
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
2015年7月17日
删除表数据(自增归0)
摘要: 1 truncate table TableName
阅读全文
posted @ 2015-07-17 22:48 临冰听雪丶
阅读(132)
评论(0)
推荐(0)
编辑
2015年6月5日
UpdatePane中弹出框
摘要: ScriptManager.RegisterClientScriptBlock(this.UpdatePanel21,typeof(UpdatePanel),"提示","alert('Success!');",true);
阅读全文
posted @ 2015-06-05 22:06 临冰听雪丶
阅读(91)
评论(0)
推荐(0)
编辑
2015年5月29日
DataRow数组转换DataTable
摘要: public DataTable ToDataTable(DataRow[] rows){if (rows == null || rows.Length == 0) return null;DataTable tmp = rows[0].Table.Clone(); // 复制DataRow的表结构...
阅读全文
posted @ 2015-05-29 22:51 临冰听雪丶
阅读(448)
评论(0)
推荐(0)
编辑
jquery闭包的使用
摘要: Test Test2
阅读全文
posted @ 2015-05-29 22:50 临冰听雪丶
阅读(196)
评论(0)
推荐(0)
编辑
2015年5月13日
在repeart中获取行数据
摘要: ItemCreated(){ if (e.Item.DataItem != null) { string examTypeId = ((DataRowView)e.Item.DataItem).Row["columnName"].ToString(); e.Item.FindC...
阅读全文
posted @ 2015-05-13 19:06 临冰听雪丶
阅读(152)
评论(0)
推荐(0)
编辑
2015年5月7日
过滤DataTable中的空数据
摘要: DataTable dt = new DataTable(tableName); for (int i = 0; i < columnsNames.Length; i++) { dt.Columns.Add(columnsNa...
阅读全文
posted @ 2015-05-07 22:28 临冰听雪丶
阅读(581)
评论(0)
推荐(0)
编辑
2015年5月4日
遍历寻找json中的重复数据
摘要: string str = "[{\"ID\":1,\"Data\":{\"subjectCode\":\"1\",\"subjectName\":\"1\",\"subjectType\":\"1\",\"componentFormat\":\"2\"}},{\"ID\":2,\"Data\":{\...
阅读全文
posted @ 2015-05-04 23:01 临冰听雪丶
阅读(1585)
评论(1)
推荐(0)
编辑
2015年4月24日
新建一个DataTable(只针对一列)
摘要: 1 /// 2 /// 新建一个DataTable(只针对一列) 3 /// 4 /// 5 /// 6 /// 7 private DataTable NewDataTable(strin...
阅读全文
posted @ 2015-04-24 17:58 临冰听雪丶
阅读(202)
评论(0)
推荐(0)
编辑
封装NPOI导出含下拉列表的Excel
摘要: 1 /// 2 /// 绑定数据的方法 3 /// 4 /// HSSFWorkbook 5 /// HSSFSheet 6 /// 数据源 7 /// 页名 8 /// 显示名称...
阅读全文
posted @ 2015-04-24 17:57 临冰听雪丶
阅读(434)
评论(0)
推荐(0)
编辑
2015年4月22日
使用jquery再次封装ajax
摘要: $.fn.ajaxSend = function (type, url, postdata, onSuccess) { $.ajax({ async: false, url: url, type: type, ...
阅读全文
posted @ 2015-04-22 18:29 临冰听雪丶
阅读(719)
评论(1)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
公告