|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ADODB VB Code: con.Properties("Prompt") -Anything similar in ADO.NHi:
Can some please tell me if there is a way to invoke the SQL user challenge dialog from ADO.Net ? I mean what would be the equivalent (if any) code in ASP.Net/C# or VB.Net for the following VB code using ADODB: oConnection.Properties("Prompt") = adPromptAlways oConnection.Open "Driver={SQL Server};Server=" & _ m_Server & ";Database=" & m_DB & ";" Set DBConnection = oConnection Thanks in advance. -- Thanks, SDRoy I just answered ur other Q.
-- Show quote- Sahil Malik [MVP] ADO.NET 2.0 book - http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx __________________________________________________________ "SDRoy" <SD***@discussions.microsoft.com> wrote in message news:AD009A75-797A-4530-A33A-D5A0EBE8ADA0@microsoft.com... > Hi: > > Can some please tell me if there is a way to invoke the SQL user challenge > dialog from ADO.Net ? I mean what would be the equivalent (if any) code in > ASP.Net/C# or VB.Net for the following VB code using ADODB: > > oConnection.Properties("Prompt") = adPromptAlways > oConnection.Open "Driver={SQL Server};Server=" & _ > m_Server & ";Database=" & m_DB & ";" > Set DBConnection = oConnection > > Thanks in advance. > > -- > Thanks, > SDRoy |
|||||||||||||||||||||||