One way to do this, I am not saying that there aren't any other maybe better
ways:
using System;
using System.Data;
namespace ConsoleApplication13
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
Console.WriteLine(Enum.GetValues(typeof(System.Dat a.DbType)).GetLength(0));
Console.Read();
}
}
}
Gabriel Lozano-Morán
"Nick Weekes" <ni***********@yahoo.co.uk> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Probably a very dumb question, but how do you count the members of
DbType?