上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

2016年10月10日

第15章 .NET中的反射

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace ConsoleApplication2 { class P 阅读全文

posted @ 2016-10-10 09:01 liuslayer 阅读(110) 评论(0) 推荐(0)

第13章 .NET应用程序配置

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Configuration; using Syst 阅读全文

posted @ 2016-10-10 08:59 liuslayer 阅读(125) 评论(0) 推荐(0)

2016年8月25日

NPOI操作excel

摘要: 1、基本导出方法 private void ExportToExcel() { SaveFileDialog sdfExport = new SaveFileDialog(); sdfExport.Filter = "Excel文件|*.xls"; if (sdfExport.ShowDialog( 阅读全文

posted @ 2016-08-25 09:31 liuslayer 阅读(293) 评论(0) 推荐(0)

2016年8月15日

winform空间批量控制

摘要: 第一版: private void RefreshControl(PanelEx panel, bool enabled, bool isClear) { for (int i = 0; i < panel.Controls.Count; i++) { if (panel.Controls[i] i 阅读全文

posted @ 2016-08-15 15:00 liuslayer 阅读(234) 评论(0) 推荐(0)

2016年8月3日

C# DataGridView控件清空数据完美解决方法

摘要: C# DataGridView控件绑定数据后清空数据在清除DataGridview的数据时:1.DataSource为NULL(DataGridView.DataSource= null;)这样会将DataGridView的列也删掉。 2.用DataGridview.Rows.Clear(); 提示 阅读全文

posted @ 2016-08-03 08:53 liuslayer 阅读(2063) 评论(0) 推荐(1)

2016年6月22日

第11章 .NET Remoting

摘要: 11.1理解remoting 11.1.1应用程序域基本概念 .NET提供了一项技术,使得跨应用程序域中的对象也可以相互访问,该技术就是.NET remoting。(185) 11.1.2应用程序域的基本操作 using System; using System.Collections.Generi 阅读全文

posted @ 2016-06-22 17:31 liuslayer 阅读(226) 评论(0) 推荐(0)

2016年6月16日

C# 获取excel架构并的导入sqlserver的方法

摘要: http://blog.csdn.net/jinjazz/article/details/2650506 http://www.cnblogs.com/advocate/archive/2010/04/12/1710383.html http://developer.51cto.com/art/20 阅读全文

posted @ 2016-06-16 17:12 liuslayer 阅读(319) 评论(0) 推荐(0)

2016年5月29日

LINQ to XML 编程基础

摘要: 1、LINQ to XML类 以下的代码演示了如何使用LINQ to XML来快速创建一个xml: 隐藏行号 复制代码 ?创建 XML public static void CreateDocument() { string path = @"d:\website"; XDocument xdoc 阅读全文

posted @ 2016-05-29 22:12 liuslayer 阅读(161) 评论(0) 推荐(0)

2016年5月3日

第5章 LINQ

摘要: 5.4 LINQ查询运算符 阅读全文

posted @ 2016-05-03 16:41 liuslayer 阅读(219) 评论(0) 推荐(0)

2016年4月28日

Socket粘包问题

摘要: 这两天看csdn有一些关于socket粘包,socket缓冲区设置的问题,发现自己不是很清楚,所以查资料了解记录一下: 一两个简单概念长连接与短连接:1.长连接 Client方与Server方先建立通讯连接,连接建立后不断开, 然后再进行报文发送和接收。 2.短连接 Client方与Server每进 阅读全文

posted @ 2016-04-28 11:11 liuslayer 阅读(273) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

导航