会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晖轩阁
人生苦短,Python当歌
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
24
下一页
2012年4月11日
位运算用例
摘要: 枚举 public enum PermissionTypes : int { None = 0, 浏览 = 1, 分类管理 = 2, 文档管理 = 4, 权限管理 = 8, 全部权限 = 浏览 | 分类管理 | 文档管理 | 权限管理 }是否包含 public static bool Has(int...
阅读全文
posted @ 2012-04-11 10:45 顿金
阅读(153)
评论(0)
推荐(0)
2012年4月9日
在同一个下拉列表显示树形结构
摘要: public string ResponseTypeTree(string nid) { StringBuilder sb = new StringBuilder(); ; DataTable dt = ClassManager.GetListByParentID("0"); for (int i...
阅读全文
posted @ 2012-04-09 18:20 顿金
阅读(203)
评论(0)
推荐(0)
2012年3月28日
sql 创建链接服务器
摘要: exec sp_droplinkedsrvlogin [SXH121],NULLexec sp_dropserver [sxh121]exec sp_addlinkedserver@server='SXH121',@srvproduct='',@provider='SQLOLEDB',@datasr...
阅读全文
posted @ 2012-03-28 10:07 顿金
阅读(114)
评论(0)
推荐(0)
sql创建作业
摘要: --定义创建作业DECLARE @jobid uniqueidentifierEXEC msdb.dbo.sp_add_job@job_name = N'有奖问答用户统计', @job_id = @jobid OUTPUT --定义作业步骤DECLARE @sql nvarchar(400),@db...
阅读全文
posted @ 2012-03-28 09:56 顿金
阅读(130)
评论(0)
推荐(0)
2012年3月27日
分页控件使用方法
摘要: 前台代码: .......................... 后台代码: protected void Page_Load(object sender, EventArgs e) { if (GridPager1.IsNavigating) { BindData(); } }void BindD...
阅读全文
posted @ 2012-03-27 11:44 顿金
阅读(129)
评论(0)
推荐(0)
sql日期格式转换
摘要: select CONVERT(varchar, getdate(), 120 )2004-09-12 11:06:08select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')200...
阅读全文
posted @ 2012-03-27 11:36 顿金
阅读(201)
评论(0)
推荐(0)
2012年3月26日
WebControl(DataGrid/GridView)导出Excel、Word
摘要: /// /// /// /// /// /// 编码 public static void OutExcel(System.Web.UI.Control dg, string name, string bm) { HttpResponse rsp = HttpContext.Curren...
阅读全文
posted @ 2012-03-26 10:37 顿金
阅读(154)
评论(0)
推荐(0)
2012年3月12日
多站点图片爬虫框架
摘要: 调用方法:protected void Page_Load(object sender, EventArgs e) { IDatabaseDAO objBook = DAOFactory.CreateBookDAO(); string sql = string.Format("select top ...
阅读全文
posted @ 2012-03-12 12:10 顿金
阅读(137)
评论(0)
推荐(0)
WinForm/服务程序 调用 WebService 出现 无法识别的属性 decompressionEnabled
摘要: WinForm/服务程序 调用 WebService 出现 无法识别的属性 decompressionEnabled,解决方法如下:1、把decompressionEnabled=“True” 删掉2、把下的 重复的 endpoint 节点删掉一个以上修改完成后,winform/服务程序调用WebS...
阅读全文
posted @ 2012-03-12 10:14 顿金
阅读(155)
评论(0)
推荐(0)
2012年3月8日
symbian塞班系统支持格式
摘要: gif, jpg, rar, txt, zip, swf, png, sis, sisx, jar, ogg, umd, wav, nth, mp3, amr, mid, mbm, smc
阅读全文
posted @ 2012-03-08 16:23 顿金
阅读(183)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
24
下一页
公告