03 2012 档案

摘要:sql field image长度:自定义,1为一个字节,看你要上传多大的照片,长度就给多少。file类型的input,转成byte[] HttpPostedFile upFile = filePhoto.PostedFile; int fileLength = upFile.ContentLength; if (fileLength > 0) { Byte[] FileByteArray = new Byte[fileLength]; Stream StreamObj... 阅读全文
posted @ 2012-03-23 00:21 随风ˇ止步 阅读(520) 评论(0) 推荐(0)
摘要:转:http://www.cnblogs.com/tonyepaper/archive/2008/03/09/1097327.html名称转注释Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ' get the current active model Set mdl = ActiveModel If (mdl Is Nothing) Then MsgBox ... 阅读全文
posted @ 2012-03-09 13:50 随风ˇ止步 阅读(469) 评论(0) 推荐(0)