摘要: private void tspBtnExportExcel_Click(object sender, EventArgs e) { //暂时用来导出图片 string filePath = System.Environment.Curren... 阅读全文
posted @ 2014-06-23 15:33 ChuckLu 阅读(1563) 评论(2) 推荐(0)
摘要: VS2012不显示最近打开的项目解决方法,在"运行"中输入 " gpedit.msc"打开后在"用户配置"-"管理模板"-"任务栏和开始菜单"然后将用户配置-->管理模板-->不保留最近打开文档的历史 将此选项设置为禁用源地址:http://www.cnblogs.com/jiguixin/arch... 阅读全文
posted @ 2014-06-23 09:35 ChuckLu 阅读(931) 评论(0) 推荐(0)
摘要: 使用此处的控件 http://www.codeproject.com/Articles/18401/XPanderControls 注意事项 使用之前需要先添加winform自带的toolStripContainer1 this.toolStripContainer1.ContentPanel.Co 阅读全文
posted @ 2014-06-19 17:08 ChuckLu 阅读(6463) 评论(0) 推荐(0)
摘要: http://www.codeproject.com/Tips/350010/Saving-User-Settings-in-Winform-Application 外网上找的资料 winform提供自带的配置,最近查看了一下,数据到底保存到什么地方去了 主目录在这下面C:\Users\Admini 阅读全文
posted @ 2014-06-13 12:48 ChuckLu 阅读(6858) 评论(0) 推荐(0)
摘要: 1.调试程序出现这个错误an error occurred while validating解决方案:http://stackoverflow.com/questions/8648428/an-error-occurred-while-validating-hresult-8000000aopen ... 阅读全文
posted @ 2014-06-09 09:10 ChuckLu 阅读(2929) 评论(0) 推荐(0)
摘要: String类1.方法public int IndexOf( char value)报告指定 Unicode 字符在此字符串中的第一个匹配项的从零开始的索引。如果找到该字符,则为 value 的从零开始的索引位置;如果未找到,则为 -1。 2.public string Substring( int 阅读全文
posted @ 2014-05-27 16:32 ChuckLu 阅读(307) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Globalization;using System.IO;using System.Runtime.Comp... 阅读全文
posted @ 2014-02-19 13:05 ChuckLu 阅读(2328) 评论(0) 推荐(1)
摘要: http://tieba.baidu.com/p/1253046423指针的解释(搞笑的)问题:学到指针了,我知道int a=10;int* p1=&a;int** p2=&p1;p1里存的是A的地址,*p1=10,但是二级指针就不懂了,能具体说一下,**p2,*p2,p2,都代表什么吗a是一部在线... 阅读全文
posted @ 2014-02-19 13:04 ChuckLu 阅读(274) 评论(0) 推荐(0)
摘要: 甲乙两个人用一个英语单词玩游戏。两个人轮流进行,每个人每次从中删掉任意一个字母,如果剩余的字母序列是严格单调递增的(按字典序a dictionaryStr = new Dictionary(); static void Main(string[] arg... 阅读全文
posted @ 2013-12-26 09:44 ChuckLu 阅读(2379) 评论(0) 推荐(0)
摘要: Location 数据库--可编程性--类型--用户定义表类型 select one database--> programmability-->types-->user--defined table types SQL Query-->Specify values for template par 阅读全文
posted @ 2013-12-05 11:52 ChuckLu 阅读(830) 评论(0) 推荐(0)