[RESOLVED] 'SqlConnection' is ambiguous in the namespace 'System.Data.SqlClient'
Hi all,
I am creating class libraries in my project so that I can update code without having to update the whole app.
I created a class library project and added some code to it. I also added a reference to System.Data.SqlClient and also imported it into the class file.
I am getting an error and I have never seen it before. Been looking online and not able to find an answer yet. Any ideas? Screen shot attached.
Re: [RESOLVED] 'SqlConnection' is ambiguous in the namespace 'System.Data.SqlClient'
Right, first off, never post a screenshot with a scroll bar in it. Do you know how many times I tried to drag that scroll bar to see a bit more of your code?
Secondly, have you declared a class or variable anywhere named SqlConnection?
In fact, do a Find In Files across your entire solution for 'SqlConnection' and post the results.
Last edited by Evil_Giraffe; Jan 23rd, 2011 at 09:02 PM.
Reason: Correcting smiley