게시판을 이용해 주셔서 감사합니다.
다음양식에 맞게 입력해주세요.
* 고객시스템명 : sein
* GAUCE 버전 : 3.0.1
* WAS 종류(WebLogic 등등) :
* DB 종류 : mssql
* 문의 유형(질문/요청/참조) :
* 내용 :
Set fs = Server.CreateObject("Scripting.FileSystemOBject")
set objFile = fs.OpenTextFile("c:test.txt",8)
Set oGauce = Server.CreateObject("GauceControlObj.3.0.1")
oGauce.SetGauceConfig GAUCE_MESSAGE_KOREAN,GAUCE_DEBUG_LEVEL_3, GAUCE_BIN30
Set DataSet1 = oGauce.CreateDataSet("imgds_grid",30)
DataSet1.MakeDataSetInfo "Tb_img", GAUCE_BLOB , GAUCE_NORMAL_COL
DataSet1.MakeDataSetInfo "Tb_img_id", GAUCE_STRING , GAUCE_NORMAL_COL
DataSet1.MakeDataSetInfo "Tb_img_size", GAUCE_INT, GAUCE_NORMAL_COL
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = 1
objStream.open
objStream.LoadFromFile Server.MapPath("/") & "/img/i_L.gif"
buff = objStream.Read
vSize = objStream.Size
objStream.close
DataSet1.SetBlob "Tb_img", buff, vSize -->>에러
objFile.writeline vSize
DataSet1.SetString "Tb_img_id", "aaa"
DataSet1.SetInt "Tb_img_size", vSize
State = DataSet1.AddRow
DataSet1.setLastRow(true)
Set oGauce = nothing