Obtain column type
Hello everybody,
I am struggling to find a way to get the column type in a row. I mean, I have my MySqlDataReader object with all my records. I would like to know (because I am in a generic display routine so I need to know if I should use GetString or GetByte or GetInt .... ) how to get the column type.
I am using mono on mac/linux. I found on some website to use the System.Data.DataTable but when I use it I have the following error:
ERROR: Method not found: 'System.Data.DataTable.Load'.
So I am just a bit clueless, hope someone can help
thanks
fabio
Subject
Written By
Posted
Obtain column type
February 27, 2008 03:50AM
February 29, 2008 03:11PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.