Guys ... I dunno what I'm doing wrong, but I'm getting an error on this:
"The best overloaded method match for 'string.String(char[])' has some invalid arguments" ...
Not quite sure what's up, as I'm just starting to learn C# ...

Hi guys, this may be an old thread but just came in handy for me, and I decided to join this forum because this tutorial and all the others are fantastic. Just a quick note: I was getting an error "ConfigurationManager does not exist in the current context" so this is what I found out: To use ConfigurationManager, It's not only necessary to use the namespace System.Configuration. You have also to add the reference to the assembly System.Configuration.dll , by right-click-ing on the References tab, choose add reference and then find System.Configuration.
Source: http://www.codeguru....p/t-409163.html

There's a problem in the "Try" "Catch" area, it gives an error "not all code paths return a value" From what I researched and found is that it is because, "nothing is returned if the try block throws an exception and it is caught by the catch block"