magikalpnoi
12th September 2006, 08:36
I have a stored procedure on an oracle server and I am attempting to send a 2d Char array as one of the parameters. A simple Bind command will not work due to the fact that QVariant cannot handle 2d arrays. I'm having trouble understanding how to use the QVariantList type. Can someone help me??
I need to pass in: char myarray [100][50];
How do I convert 'myarray' to a QVariantList?
-and-
After binding and doing an execBatch() via:
query.execBatch(QSqlQuery::ValuesAsColumns) // since I am using Oracle
How do I retrieve the data returned?
Thank you so much in advance for the help.
I need to pass in: char myarray [100][50];
How do I convert 'myarray' to a QVariantList?
-and-
After binding and doing an execBatch() via:
query.execBatch(QSqlQuery::ValuesAsColumns) // since I am using Oracle
How do I retrieve the data returned?
Thank you so much in advance for the help.