• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






章松山

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 下一页

2013年5月7日

ASP.NET绑定子实体类的方法.
摘要: <%# (((主对象类)Container.DataItem).子对象类).属性名 %> 阅读全文
posted @ 2013-05-07 16:09 章松山 阅读(178) 评论(0) 推荐(0)
 

2013年5月3日

RDLC钻取式报表开发
摘要: 以顾客和订单为例,一个顾客有多个订单. 主报表是顾客,子报表是订单,创建customer.rdlc,order.rdlc customer.rdlc文本框属性,操作,转到报表,填写报表名,添加参数. order.rdlc添加参数customerID ReportView控件: protected... 阅读全文
posted @ 2013-05-03 12:46 章松山 阅读(246) 评论(0) 推荐(0)
 
访问Exchange Mail
摘要: 添加Microsoft.ServiceModel.Channels.Mail.dll Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll public class ExchangeMailManage { public static... 阅读全文
posted @ 2013-05-03 10:34 章松山 阅读(350) 评论(0) 推荐(0)
 
读写txt文件类
摘要: public class TxtFileManage { public static void Save(string txt) { try { FileStream fileStream = new FileStream(CommonStatic.EmailTxtFilePath, FileMode.OpenOrCreate,FileAccess.ReadWrite,FileShare.ReadWrite); StreamWriter sw = new StreamWriter(fileStream); sw.WriteLine(ReadFile() + "\n" + t 阅读全文
posted @ 2013-05-03 10:30 章松山 阅读(177) 评论(0) 推荐(0)
 
写在windows中的日志类
摘要: public class LogWriter { /// <summary> /// 写入系统日志 /// </summary> /// <param name="message">事件内容</param> private static void LogEvent(EventLogEntryType eventLogType, string eventSourceName, string message) { if (!EventLog.SourceExists(eventSourceName)) { EventLog.Cre 阅读全文
posted @ 2013-05-03 10:28 章松山 阅读(174) 评论(0) 推荐(0)
 
操作windows服务的类
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-05-03 10:26 章松山 阅读(11) 评论(0) 推荐(0)
 
项目中的常用方法
摘要: public class CommonTools { private static String EncodeKey="Simon"; public static Object Copy(Object source, Object item) { Type t = source.GetType(); foreach (PropertyInfo property in t.GetProperties()) { PropertyInfo pro = t.GetProperty(property.Name); if (pro != null && property 阅读全文
posted @ 2013-05-03 10:23 章松山 阅读(140) 评论(0) 推荐(0)
 
创建有返回值得存储过程
摘要: CreatePROCEDURE [dbo].[p_InsertProcInst]@DefID int,@Status tinyint,@CreateUser varchar(50),@ID int outputASBEGINSET NOCOUNT ON;INSERT INTO BPM_ProcInst (DefID,StartDate,Status,CreateUser) VALUES (@DefID,getdate(),@Status,@CreateUser)SELECT @ID=SCOPE_IDENTITY()END 阅读全文
posted @ 2013-05-03 10:18 章松山 阅读(150) 评论(0) 推荐(0)
 
脚本整理
摘要: /*FunctionRestrict the text box only can input numeric and dot*/function OnlyNum(){//alert(event.keyCode); if (!((event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105) || event.keyCode == 8 || event.ctrlKey || event.shiftKey || event 阅读全文
posted @ 2013-05-03 10:10 章松山 阅读(183) 评论(0) 推荐(0)
 
本人开发的带提示的TextBox控件
摘要: /// <summary> /// created by章松山 2012-09-20 /// </summary> public class TipTextBox:TextBox { [Bindable(true)] [Category("Appearance")] [Localizable(true)] public string DefalutText { get { String s = (String)ViewState["DefalutText"]; return ((s == null) ? String.Empty 阅读全文
posted @ 2013-05-03 09:50 章松山 阅读(144) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 下一页