3
Reply

System.Data.OleDb.OleDbType basetype

s 0

s 0

Mar 29 2005 4:57 PM
5.8k
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

Answers (3)