摘要: 强制ASP时间使用使用区域设置里面的时间格式,方法如下:打开注册表编辑器,进入HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\,建立OLEAUT的项,在该项下建立名称为“VarConversionLocaleSetting”的DWORD值,数据设置为2,设置完成后退出注册表编辑器;重启IIS后,再次测试ASP函数Now(),现在已经成功的不再显示... 阅读全文
posted @ 2009-09-19 11:39 Liangyy 阅读(316) 评论(0) 推荐(0) 编辑
摘要: //===========================================================================//// File Name: Setup.rul//// Description: Blank setup main script file//// Comments: Blank setup is an empty setup project... 阅读全文
posted @ 2008-06-19 08:54 Liangyy 阅读(1485) 评论(0) 推荐(0) 编辑
摘要: IntroductionProgramming for X can be cumbersome, in comparison tcl/tk provides a quick and easy way of getting a graphical application up and running. Tcl/tk is a scripting language, and as such there... 阅读全文
posted @ 2007-10-26 06:20 Liangyy 阅读(710) 评论(0) 推荐(0) 编辑
摘要: IntroductionA typical TCL script stores its internal data in lists and arrays (the two primary data structures in TCL). Suppose you want to write a TCL application that can save its data on disk and r... 阅读全文
posted @ 2007-10-26 06:17 Liangyy 阅读(496) 评论(0) 推荐(0) 编辑
摘要: main.aspx.vbProtectedSubPage_Load()SubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadDimcsAsClientScriptManager=Page.ClientScriptDimcstypeAsType=Me.GetType()If(Notcs.IsClientScri... 阅读全文
posted @ 2006-09-11 10:52 Liangyy 阅读(267) 评论(0) 推荐(0) 编辑
摘要: CREATEProcPage_GridView@QueryStrvarchar(8000),--表名、视图名、查询语句@PageSizeint=10,--每页的大小(行数)@PageCurrentint=1,--要显示的页@FdShowvarchar(8000)='',--要显示的字段列表,如果查询结果不需要标识字段,需要指定此值,且不包含标识字段@FdOrdernvarchar(1000)=''... 阅读全文
posted @ 2006-08-31 10:13 Liangyy 阅读(283) 评论(0) 推荐(0) 编辑
摘要: PublicSharedFunctionDownLoadExcelToClient()FunctionDownLoadExcelToClient(ByValFileNameAsString,ByValTmpStrAsString)AsBooleanDownLoadExcelToClient=TrueDimxlAppAsObjectDimxlBookAsObjectDimxlSheetAsObjec... 阅读全文
posted @ 2006-08-29 09:25 Liangyy 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Classsetup.csusingSystem;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Configuration.Install;usingMicrosoft.Win32;usingSystem.Diagnostics;usingSystem.IO;namespaceClasssetup{[RunInstal... 阅读全文
posted @ 2006-08-29 09:21 Liangyy 阅读(324) 评论(0) 推荐(0) 编辑
摘要: ImportsMicrosoft.VisualBasicImportsSystem.TextImportsSystem.IOImportsMainModPublicClassExcelFilePublicEnumValueTypesxlsInteger=0xlsNumber=1xlsText=2EndEnumPublicEnumCellAlignmentxlsGeneralAlign=0xlsLe... 阅读全文
posted @ 2006-05-30 15:33 Liangyy 阅读(558) 评论(0) 推荐(0) 编辑
摘要: PrivateSubSetDateWeekDropDownList(ByValmYearMonthAsString)DimiAsInteger=0,jAsInteger=0DimStartDateAsString=Format(CDate(mYearMonth&"-01"),DATE_FORMAT)DimEndDateAsString=Format(DateAdd(DateInterval... 阅读全文
posted @ 2006-05-30 15:19 Liangyy 阅读(211) 评论(0) 推荐(0) 编辑