Problem with varcharData

  • Thread starter Thread starter Alessandro
  • Start date Start date
A

Alessandro

Hi !

I have problem to extract data from a DB when there is a filed "Varchar"
with more or equal to 1000chars !
I don't understand why !

I add parameters like:

prmOleDb = New OleDbParameter()
prmOleDb.Direction = oParam.Direction
prmOleDb.ParameterName = oParam.Name
prmOleDb.Value = oParam.Value
prmOleDb.IsNullable = oParam.IsNullable
prmOleDb.DbType = oParam.DBType
If oParam.Size > 0 Then
prmOleDb.Size = oParam.Size
End If
cmdOleDb.Parameters.Add(prmOleDb)
 
Back
Top