I still have a problem with the code and I can't find the answer anywhere. I'm trying to use Connection.State and my con.State but both are said as they have been unloaded. Does it mean I have a problem with my System.Data.dll...maybe the version is not good. I'm using the one in unity in the folder 2.0 If anybody knows what is going on. I would like to know.