Diferencia 
Author Message
 Diferencia

Cul es la diferencia, por ejemplo, entre:
SqlConnection("server=server;database=bo_produccion;integratedsecurity=sspi"
)  y

sqlclient.SqlConnection("server=server;database=bo_produccion;integratedsecu
rity=sspi") ???????????



Sun, 22 May 2005 05:32:35 GMT  
 Diferencia
Son lo mismo.
They are the same. In the first case the compiler knows that the
SqlConnection object is in the SqlClient namespace. In the second case you
specify the namespace explicitly.

--
________________________________
William (Bill) Vaughn, Author, Trainer, Mentor
Microsoft Pacwest Regional Director, MVP
"ADO.NET and ADO Examples and Best Practices for VB Programmers--2nd
Edition" (ISBN: 1-893115-68-2)
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
________________________________

Quote:
> Cul es la diferencia, por ejemplo, entre:

SqlConnection("server=server;database=bo_produccion;integratedsecurity=sspi"
Quote:
> )  y

sqlclient.SqlConnection("server=server;database=bo_produccion;integratedsecu
Quote:
> rity=sspi") ???????????



Sun, 22 May 2005 07:34:40 GMT  
 
 [ 2 post ] 

 Relevant Pages 
 

 
Powered by phpBB® Forum Software