Using Type.GetType in the .Net Framework

added by JGaroutte
11/30/2011 1:12:02 AM

0 Kicks, 51 Views

I was recently working on a project where we needed a System.Type object based on settings in the application configuration file. It seems like a simple thing to do but there is a catch that I keep forgetting when using Type.GetType. When I tried to get the type for a SqlConnection I was a little surprised that it was null.