会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Swarb
低头做事,抬头做人
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
6
7
8
9
10
11
12
13
14
···
27
下一页
2013年11月19日
导出excel、word、csv文件方法汇总
摘要: http://www.woaic.com/2012/06/64 excel文件主要是输出html代码。以xls的文本格式保存文件。生成excel格式的代码:/// /// 输出excel格式的html代码 /// /// /// /// /// /// ...
阅读全文
posted @ 2013-11-19 11:46 swarb
阅读(428)
评论(0)
推荐(0)
2013年9月23日
逐条更新数据 sql
摘要: declare @tid int declare @fid intdeclare @i intdeclare @j intset @j=(select count(*) from tbl1.dbo.dnt_topics)set @i=1 ...
阅读全文
posted @ 2013-09-23 09:21 swarb
阅读(316)
评论(0)
推荐(0)
2013年9月5日
C# List分页
摘要: List.Skip((pagecount-1)*pagesize).Take(pagesize)假设你每页10条数据当前是第3页 跳到第4页则:List.Skip((4-1)*10).Take(10) int numb = 100; ...
阅读全文
posted @ 2013-09-05 17:36 swarb
阅读(1213)
评论(0)
推荐(0)
2013年9月3日
EF学习文档
摘要: http://www.cnblogs.com/xie-zhonglai/archive/2012/04/10/2440569.html http://tommyhu.cn/Entity-FrameWork-LINQ-to-Entities/
阅读全文
posted @ 2013-09-03 14:48 swarb
阅读(215)
评论(0)
推荐(0)
2013年8月28日
WPF listbox中Checkbox横向排列
摘要: ...
阅读全文
posted @ 2013-08-28 15:58 swarb
阅读(622)
评论(0)
推荐(0)
2013年8月21日
Devexpress gridcontrol设置列样式
摘要:
阅读全文
posted @ 2013-08-21 14:00 swarb
阅读(821)
评论(0)
推荐(0)
2013年8月20日
Devexpress 饼状图
摘要: ...
阅读全文
posted @ 2013-08-20 15:48 swarb
阅读(876)
评论(0)
推荐(0)
DevExpress Silverlight DXChart特效总结
摘要: 1、 主题修改引用 xmlns:core=http://schemas.devexpress.com/winfx/2008/xaml/core在Grid中添加core:ThemeManager.ApplicationTheme ="DXStyle"主页引用一次即可...
阅读全文
posted @ 2013-08-20 15:47 swarb
阅读(451)
评论(0)
推荐(0)
2013年8月16日
SQLSERVER存储过程基础
摘要: SQLSERVER存储过程基础 1.声明变量 DECLARE @F001 SMALLINT, (三元素,声明declare+变量名+类型) @F002 INTEGER, @F003 VARCHAR(2...
阅读全文
posted @ 2013-08-16 17:11 swarb
阅读(300)
评论(0)
推荐(0)
字符串格式化
摘要: 1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元) string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果:$0.20) 默认格式化小数点后面保留两位小数,如果需要保留一位或者更多,可以指定位数str...
阅读全文
posted @ 2013-08-16 14:36 swarb
阅读(142)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
27
下一页
公告