[Mono-list] Bug (?) in SqliteDataReader

T Senganal tsenganal at novell.com
Tue May 16 07:56:11 EDT 2006


Hi 

>>> Joshua Tauberer <tauberer at for.net> 05/16/06 4:01 AM >>>
> Somewhere in the process of filling the DataTable, the DateTime is
> converted back to a string because GetSchemaTable says the column is
> string-typed.  

GetSchemaTable is assumed to have the correct schema information and
this is used  to create the columns when dataset is filled.. 
So, if GetSchemaTable has the datatype info as String for a column, 
the column created in the dataset will also be of type 'string' ..
If you do not want the column to be converted to a 'String' then pls
make sure that GetSchemaTable contains the correct 'DataType' ..

Regards
Senga


More information about the Mono-list mailing list