Solution:The type or namespace name 'SqlConnection' could not be found (are you missing a using directive or an assembly reference?) | Coding Cluster - using asp.net, c#, mvc 4, iphone, php, ios, javascript, in asp.net mvc 3 & more
 

Solution:The type or namespace name 'SqlConnection' could not be found (are you missing a using directive or an assembly reference?)

Wednesday

How to fix - The type or namespace name 'SqlConnection' could not be found - error in asp.net?:
                                                         "The type or namespace name ' SqlConnection ' could not be found (are you missing a using directive or an assembly reference?)" error means you just missed to add appropriate namespace for connect your sql database. To fix this issue you just add  the following  namespace in your page top.

            using System.Data.SqlClient;

0 comments:

Post a Comment

Share your thoughts here...

 
 
 

RECENT POSTS

Boost

 
Blogger Widgets