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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top