摘要: 1 public string lengadd(string stringa, string stringb, int count, int mode) //以stringa的长度,未到count的长度则增加stringb,mode属性0是增加前面,1是增加后面 2 { 3 int stringaa 阅读全文
posted @ 2019-05-02 01:00 龍行PP 阅读(2231) 评论(0) 推荐(0)
摘要: 1 DataSet ds = new DataSet(); 2 OpenFileDialog openFileDialog = new OpenFileDialog(); 3 openFileDialog.Filter = "Excel 2003 *.xls |*.xls"; 4 openFileD 阅读全文
posted @ 2019-04-17 02:01 龍行PP 阅读(520) 评论(0) 推荐(0)
摘要: //用C#自带的压缩,最少要.net4.5或以上,先增加引用 System.IO.Compression.FileSystem // FolderBrowserDialog dlg = new FolderBrowserDialog(); //压缩目录 显示一个标准选择文件夹对话框 OpenFile 阅读全文
posted @ 2019-03-27 00:45 龍行PP 阅读(407) 评论(0) 推荐(0)