ADODB VB Code: con.Properties("Prompt") -Anything similar in ADO.N

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Back
Top