Dear expert:
I have problem with the OleDbType, I stored Chinese data
value in
DataBase and use DataReader to retrieve it to local(say, in
interface):
OBJECT_SETTING1 = dbRdr.GetValue(17).ToString(); //
Chinese text
then I save it to DataBase by some storedprocedure by
assigning it to
some certain parameter:
myNewParameter =
runSP.Parameters.Add("V_objval",OleDbType.VarCha
r,OBJECT_SETTING1.Length+10);
//
myNewParameter.Value = OBJECT_SETTING1;
while I run the runSP (SQLcommand) from C#, it pops up the
error
message:
ORA-01460: cannot convert or conversion is unacceptable.
Could someone can help me to give some solution?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|