By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,212 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,212 IT Pros & Developers. It's quick & easy.

SQL Prompt dialog using ADO.Net 2.0-Connection : Urgent

P: n/a
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
Mar 1 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.