When we will use using System.Data.Sql namespace

Posted by Mahesh_Chs under C# on 10/23/2012 | Points: 10 | Views : 1284 | Status : [Member] | Replies : 2
hii

When we will use using System.Data.Sql namespace and what is the difference between using System.Data.Sql and using System.Data.SqlClient


Thank you
Regards
Mahesh chayanam




Responses

Posted by: Sourabh07 on: 11/2/2012 [Member] Starter | Points: 25

Up
0
Down
hi..
The namespace System.Data.SqlClient consists various classes, for description refer to the following link:

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx

For namespacee System.Data.Sql refer to the link:

http://msdn.microsoft.com/en-us/library/system.data.sql.aspx

If there is any confusion then let me know..............:-)

Sourabh07

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/2/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
The System.Data.Sql namespace contains classes that support SQL Server-specific functionality and System.Data.SqlClient namespace is the.NET Framework Data Provider for SQL Server
and the above links provided by sourabh07 are good enough

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response