2013年2月23日
摘要: function TFrmFileManageCard.UpLoadFileBreak(SourseFileName, DestFileName: String): Integer;var upsize:int64; IDFTP:TidFtp; LSourceStream: TFileStream; LSourceStreamA:TMemoryStream;begin Result:=-1; if Application.MessageBox('文件上传失败,是否断点续传?','提示!',MB_YESNO)ID_YES then begin Exit; end; 阅读全文
posted @ 2013-02-23 12:44 小S资料屋 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 通过ASP代码实现时间格式化下面试试先的代码Function Format_DateTime(S_DateTime,I_Format)Dim y, m, d, h, mi, sFormat_DateTime = ""If IsDate(S_DateTime) = False Then Exit Functiony = cstr(year(S_DateTime))m = cstr(month(S_DateTime))If len(m) = 1 Then m = "0" & md = cstr(day(S_DateTime))If len(d) = 阅读全文
posted @ 2013-02-23 12:43 小S资料屋 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 我们在实际在做数据库的操作的时候,经常会需要通过SQL语句来读取日期是星期几,得到当前日期的函数是:getdate()下面的几个函数都是使用的固定日期,可以修改成通过getdate(),来得到当前日期是星期几1:在Oracle 通过下面语句第一个:SELECT DECODE(dw, 0, '星期天', 1, '星期一', 2, '星期二', 3, '星期三', 4, '星期四', 5, '星期五', 6, '星期六') WEEK... 阅读全文
posted @ 2013-02-23 12:42 小S资料屋 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 文件结构+DocxToTextDemo +bin +Debug -DocxToTextDemo.vshost.exe -ICSharpCode.SharpZipLib.dll +Release -DocxToTextDemo.exe -ICSharpCode.SharpZipLib.dll -DocxToText.cs -DocxToTextDemo.csproj -Form1.cs -Form1.Designer.cs -Form1.resx +obj +Debug +TempPE -Program.cs +P... 阅读全文
posted @ 2013-02-23 12:41 小S资料屋 阅读(234) 评论(0) 推荐(0) 编辑