DocResult-Column was defined wrong. Correct: DOC_RESULT
This commit is contained in:
parent
3ac61e75f5
commit
210bb821da
@ -217,7 +217,7 @@ Namespace Jobs
|
|||||||
If Not IsNothing(imageData) Then
|
If Not IsNothing(imageData) Then
|
||||||
sFileName = System.IO.Path.GetFileName(pFilePath)
|
sFileName = System.IO.Path.GetFileName(pFilePath)
|
||||||
'Set insert query
|
'Set insert query
|
||||||
qry = $"UPDATE TBSIG_ENVELOPE SET DocResult = @ImageData WHERE GUID = {pEnvelopeID}"
|
qry = $"UPDATE TBSIG_ENVELOPE SET DOC_RESULT = @ImageData WHERE GUID = {pEnvelopeID}"
|
||||||
'Initialize SqlCommand object for insert.
|
'Initialize SqlCommand object for insert.
|
||||||
SqlCom = New SqlCommand(qry, Database.GetConnection)
|
SqlCom = New SqlCommand(qry, Database.GetConnection)
|
||||||
'We are passing File Name and Image byte data as sql parameters.
|
'We are passing File Name and Image byte data as sql parameters.
|
||||||
|
|||||||
@ -448,7 +448,7 @@ Public Class frmMain
|
|||||||
'For Document
|
'For Document
|
||||||
Try
|
Try
|
||||||
'Get image data from gridview column.
|
'Get image data from gridview column.
|
||||||
strSql = "Select [DocResult] from [TBSIG_ENVELOPE] WHERE GUID = " & pEnvID
|
strSql = "Select [DOC_RESULT] from [TBSIG_ENVELOPE] WHERE GUID = " & pEnvID
|
||||||
Dim obyteDB = DB_DD_ECM.GetScalarValue(strSql)
|
Dim obyteDB = DB_DD_ECM.GetScalarValue(strSql)
|
||||||
If Not IsDBNull(obyteDB) Then
|
If Not IsDBNull(obyteDB) Then
|
||||||
'Get image data from DB
|
'Get image data from DB
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user