hi
I am facing problem in connection of sql server in asp.net pages
Actually there is error when i importing namespace System.Data.Sqlclient

Error is:

The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)


now i don't idea that what s this how to remove this error
Currently i am using VS2010 ,MSSQL server 2005 Express edition

Recommended Answers

All 2 Replies

hi
I am facing problem in connection of sql server in asp.net pages
Actually there is error when i importing namespace System.Data.Sqlclient

Error is:

The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)


now i don't idea that what s this how to remove this error
Currently i am using VS2010 ,MSSQL server 2005 Express edition

You may have discovered this already, but i believe namespaces are case sensative. The namespace you are looking for may be System.Data.SqlClient I hope this helps.

commented: thanks it's working now +0

You may have discovered this already, but i believe namespaces are case sensative. The namespace you are looking for may be System.Data.SqlClient I hope this helps.

thanks


and sorry for taht common mistake now its working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.