随笔分类 -  WinForm

winform 下log4net简单应用示例及“缺少log4net引用”的处理方案
摘要:1.添加应用log4net.dll2.新增log4net.config文件,文件内容如下 --> --> 3.修改文件AssemblyInfo.cs,在文件的最后添加以下内容[assembly: log4net.Config.DOMConfigurator(ConfigFile = "log4net.config", Watch = true)]4.方法调用 private st... 阅读全文
posted @ 2014-03-26 17:49 风随月影飘0 阅读(3328) 评论(0) 推荐(1)
简易数据导入小工具
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;using System.IO;namespace ImportedDataTool{ public partial class ImportedDataIntoDBFromTXT : ... 阅读全文
posted @ 2014-03-07 16:52 风随月影飘0 阅读(337) 评论(0) 推荐(0)