System.Data.OleDb.OleDbType basetype
hello,
i have for example:
System.Data.OleDb.OleDbType column1 = System.Data.OleDb.OleDbType.WChar;
but what i wanna do is now check if column1 is a type of string. i tried this
if (typeof(string) == column1.GetType())
{
// yes it's string
}
but this doesn't work it there another solution for this problem?
Thx in advanced
greetings,
Sander