Is there a better way than this to check if a DataColumn in a DataTable is numeric (coming from a SQL Server database)?
Database db = DatabaseFactory.Creat
Another method without using Arrays, just by one line of code:
return col != null && "Byte,Decimal,Double,Int16,Int32,Int64,SByte,Single,UInt16,UInt32,UInt64,".Contains(col.DataType.Name + ",");
This line of code can be used either as a normal helper method or as an extension method.