摘要:
APP.config 阅读全文
posted @ 2018-03-26 09:14
Microera
阅读(305)
评论(0)
推荐(0)
摘要:
delegate void Cal(); public partial class Form1 : Form { //委托 //2.0之前 命名方法 //2.0引用 匿名方法 //3.0 Lambda 简化匿名方法 // 委托 匿名方法 Lambda // 委托 是... 阅读全文
posted @ 2018-03-26 09:11
Microera
阅读(227)
评论(0)
推荐(0)
摘要:
Children.cs MyEventArgs.cs 阅读全文
posted @ 2018-03-26 09:06
Microera
阅读(308)
评论(0)
推荐(0)
摘要:
//Stream 字节序列的一般视图 读取 写入 查找 // 抽象类 //TextWriter(Reader) TextReader 读取连续字符系列的读取器 StreamWriter,StringWriter StreamReader //StreamWriter(Reader) IDispose 阅读全文
posted @ 2018-03-26 09:00
Microera
阅读(258)
评论(0)
推荐(0)
摘要:
//FileInfo private void button1_Click(object sender, EventArgs e) { string path = "folder2/mytext1.txt"; FileInfo fi = new FileInfo(path); StreamW... 阅读全文
posted @ 2018-03-26 08:56
Microera
阅读(223)
评论(0)
推荐(0)
摘要:
//Oledb 像我们连接数据库,数据加载DataTable //Excel文件当作是我们要连接的数据库 连接字符串 //03和07及以上版本的引擎不同, //03是Microsoft.Jet.OLEDB.4.0 ,07及以上是Microsoft.ACE.OLEDB.12.0 。 //导入 1 pr 阅读全文
posted @ 2018-03-26 08:27
Microera
阅读(206)
评论(0)
推荐(0)
摘要:
//创建 //1.xml注释 不能嵌套 注释中间不能出现-- 不能xml声明之前 //创建xml文档对象 XmlDocument doc = new XmlDocument(); //声明 XmlDeclaration dec = doc.CreateXmlDeclaration("1.0", "U 阅读全文
posted @ 2018-03-26 08:23
Microera
阅读(137)
评论(0)
推荐(0)

浙公网安备 33010602011771号