会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
自然去留
万物皆自然,和乐惟去留!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
2012年12月10日
给图片加上水印
摘要: 首先定义水印生成类: public class ImageWatermark { public static Image CreateWatermark( string fileName, string markStr, ...
阅读全文
posted @ 2012-12-10 20:34 自然去留
阅读(180)
评论(0)
推荐(0)
2012年10月4日
使用config自定义配置
摘要: publicclassOrdersSection:ConfigurationSection { [ConfigurationProperty("companyID",IsRequired=true)] publicstringCompanyID { get { return(st...
阅读全文
posted @ 2012-10-04 18:06 自然去留
阅读(650)
评论(0)
推荐(0)
2012年8月10日
GRID控件删除之前确认
摘要: ' CommandName="DelCmd" OnClientClick="return confirm('您确定要删除吗?');">删除
阅读全文
posted @ 2012-08-10 13:20 自然去留
阅读(152)
评论(0)
推荐(0)
获取指定文件夹内的文件
摘要: 首先需要定义文件信息记录类: 1 public class FileData 2 { 3 private string myFullName; 4 private string myName; 5 private string myEx...
阅读全文
posted @ 2012-08-10 12:23 自然去留
阅读(214)
评论(0)
推荐(0)
2012年8月7日
web页面上通过后台弹出消息框的几种方式
摘要: Response.Write("javascript:alert('hahahah!')");ServerControl.Attributes.Add("onclike"," return confirm('are you sure?')");Page.RegisterStartupScript("...
阅读全文
posted @ 2012-08-07 21:16 自然去留
阅读(723)
评论(0)
推荐(0)
2012年8月5日
把数据导出到的Excel文件
摘要: 1 public static void ExportExcel() 2 { 3 StringBuilder sb = new StringBuilder(); 4 sb.Append(""); 5 ...
阅读全文
posted @ 2012-08-05 11:40 自然去留
阅读(182)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
公告