导航

上一页 1 2 3 4 5 6 7 8 ··· 61 下一页

2015年10月28日

摘要: I'm building this application in Visual Studio 2010 using C#.Basically there are 2 files, form1.cs (which is the windows form) and program.cs (where a... 阅读全文

posted @ 2015-10-28 16:01 eastson 阅读(260) 评论(0) 推荐(0) 编辑

2015年10月23日

摘要: 可以直接在窗体的AcceptButton和CancelButton中设置相应的按钮。也可以在后头通过代码设置:this.AcceptButton = (IButtonControl)btnSave;this.CancelButton = (IButtonControl)btnCancel; 阅读全文

posted @ 2015-10-23 17:30 eastson 阅读(842) 评论(0) 推荐(0) 编辑

2015年10月22日

摘要: This example shows how to formatDateTimeusingString.Formatmethod. All formatting can be done also usingDateTime.ToStringmethod.Custom DateTime Formatt... 阅读全文

posted @ 2015-10-22 16:02 eastson 阅读(204) 评论(0) 推荐(0) 编辑

2015年10月20日

摘要: 方法1:System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location); //重新开启当前程序Close();//关闭当前程序方法2:System.Windows.Forms.... 阅读全文

posted @ 2015-10-20 11:54 eastson 阅读(298) 评论(0) 推荐(0) 编辑

2015年10月14日

摘要: 在企业开发过程中经常会遇到文件的压缩与解压,虽然网上很多流行的压缩文件格式都是RAR的,但是由于RAR不是一个开放的标准,因此ZIP成了更多人的选择。如果你不想自己开发的话可以选择开源的项目,比如SharpZipLib就是一个不错的选择。using System;using System.Colle... 阅读全文

posted @ 2015-10-14 14:58 eastson 阅读(274) 评论(0) 推荐(0) 编辑

摘要: ADO.Net 在数据库操作过程中默认打开了连接池,不需要再进行手工配置。这个特性可以使数据库操作时效率提高,但也要有相应的代码配合,才能真正提高程序效率。1、连接字符串 ADO.Net 中的连接池大小可以通过数据库连接字符串来控制,例如: string cs = "server=.;uid=sa;... 阅读全文

posted @ 2015-10-14 11:49 eastson 阅读(172) 评论(0) 推荐(0) 编辑

2015年10月8日

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.ComponentModel.Design;using System.Windows.Forms;namespace Samp... 阅读全文

posted @ 2015-10-08 17:31 eastson 阅读(332) 评论(0) 推荐(0) 编辑

2015年8月8日

摘要: $_FILES: 经由 HTTP POST 文件上传而提交至脚本的变量。类似于旧数组 $HTTP_POST_FILES 数组(依然有效,但反对使用)。$_FILES数组内容如下:$_FILES['myFile']['name'] 客户端文件的原名称。$_FILES['myFile']['type'... 阅读全文

posted @ 2015-08-08 10:30 eastson 阅读(548) 评论(0) 推荐(0) 编辑

摘要: ECMall 动态 阅读全文

posted @ 2015-08-08 09:06 eastson 阅读(277) 评论(0) 推荐(0) 编辑

2015年8月6日

摘要: ecm_acategory //文章分类表字段类型Null默认注释cate_idint(10)否自增ID号,分类ID号cate_namevarchar(100)否分类的名称parent_idint(10)否分类的父级IDsort_orderTinyint(3)否分类排序数字标识codevarchar... 阅读全文

posted @ 2015-08-06 11:53 eastson 阅读(297) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 61 下一页