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
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

yasser_8227158 pointsPosted Mar 29, 2005, 6:00 PM EST
sacrespRank #1,944 · 754 pointsPosted Mar 29, 2005, 7:53 PM EST
s 020 pointsPosted Mar 29, 2005, 10:33 PM EST