set fso=createobject(Scripting.FileSystemObject) set fn=fso.GetFile(E:\AD.txt) msgbox 文件创建时间:fn.DateCreated msgbox 文件最后修改时间:fn.DateLastModified msgbox 文件最后访问时间:fn.DateLastAccessed set fn=nothing set fso=nothing
C# window form 链接标签(LinkLabel)使用技巧1.用户可以通过Link Area属性把Text中的部分内容指定为超链接。例子下:+展开-C#linkLabel1.Text="请访问站点http://www.zongen.com获取更多的内容";//指定从第5个字符起的21个字符作为超链接,即http://www.zongen.comlinkLabel1.LinkArea=newSystem.Windows.Forms.LinkArea(5,24);2.链接标签中可..
ajaxpro使用总结系列其他内容ajaxpro ajaxmethod 重载调用问题ajaxpro方法ajaxmethod调用示例ajaxpro返回值类型总结-string,intajaxpro返回值类型总结-DataTableajaxpro返回值类型总结-DataSetajaxpro综合示例-ajaxpro无刷新更新gridview数据ajaxpro示例代码下载.rarajaxpro2.dll for .net 2.0ajaxPro7.7.31.1 出现this.onTimeout is not a func..
用C#编写事件或委托时如果处理不好会造成内存泄漏,看下面代码:public class DoA2EventArgs : EventArgs { } public class ClassA { public delegate void DoAEventHandler(object sender, EventArgs e); public event EventHandlerDoA2EventArgs DoA2EventHandler; publ..
相关文章Windows7 + Apache + MySql5 + PHP5 + PhpMyAdmin 安装与环境配置Apache2.2提示Cannot load php5apache2_2.dll into server apache-conf-Invalid command 'PHPIniDir', perhaps misspelled解决方案apache Could not reliably determine the server‘s fully qualified domain nameApache NameVirtualHost *:80 has no VirtualHosts Apac..
sql获取access数据库中用户建立的用户表,不包括系统表。SELECT MSysObjects.NameFROM MSysObjectsWHERE ((Left([name],4)MSys) AND ((MSysObjects.Type)=1))--关键,第一个条件去掉系统表,第二个条件是表ORDER BY MSysObjects.Name;注意:MSysObjects是系统表,需要配置过才能访问默认情况下,在程序中是无法直接访问Access的系统表的,会..
SqlConnection.ConnectionString属性 ConnectionString类似于OLE DB连接字符串,但并不相同。与OLE DB或ADO不同,如果Persist Security Info 值设置为false(默认值),则返回的连接字符串与用户设置的ConnectionString相同但去除了安全信息。除非将Persist Security Info 设置为true,否则,SQL Server .NET Framework数据提供程序将不会保持..
Store Procedure,存储过程。也是被别人写过的东西。我习惯性先看别人都写了点啥,然后才开始想看看自己还要写点啥。那就先谈谈它与udf的区别吧。 在Linq To Sql进阶系列(四)User Define Function篇 中,我们提到了两者的差别。比如Store Procedure支持多个rowset的,而udf不行。他们还有一些其他的差别。Store Procedure只能返回整型,..
php文件上传时提示File upload error - unable to create a temporary file in Unknown on line 0错误(系统环境:window2003+IIS6+FastCGI+PHP5.3.4),出现这个错误是因为php上传的文件先保存到临时目录中,然后再从临时目录拷贝到目标目录去,如果临时目录没有网站用户写入权限就会报错。 不是搞php,不懂php默认上传路径在哪里(有人..