No announcements
Found 1418729 threads
-
0 Votes
error in SqlConnection()
By default is off and the error message won't tell you that.Answered | 4 Replies | 1344 Views | Created by Jenniewng - Friday, August 31, 2012 5:30 PM | Last reply by Tarun00007 - Friday, August 31, 2012 6:24 PM -
0 Votes
SqlConnection
I define assemblies in web.config but sqlConnection is not accessible <br/> SqlConnection ...Answered | 6 Replies | 3062 Views | Created by Haris Hussain - Tuesday, August 10, 2010 9:20 PM | Last reply by Arild Røksund - Wednesday, August 11, 2010 11:57 AM -
0 Votes
SQLConnection
string queryString = "select max (Inventory_ID) from ...Answered | 1 Replies | 400 Views | Created by MrBrilliant12 - Friday, April 29, 2016 12:54 PM | Last reply by Christopher84 - Friday, April 29, 2016 2:36 PM -
1 Votes
From IDbConnection to SqlConnection
In addition, you need to check the Show Other Members, for more details, see http://msdn.microsoft.com/en-us/library/exy1facf(v=vs.100).aspx The Reflector using reflection ...Answered | 3 Replies | 4870 Views | Created by speculor - Thursday, August 9, 2012 12:33 PM | Last reply by Bob Wu-MT - Wednesday, August 15, 2012 6:04 AM -
0 Votes
Sqlconnection string
Like the following Environment.SpecialFolder.MyDocuments So your code should be like this string attachDbFilePath = ...Answered | 2 Replies | 573 Views | Created by UrgenKalsang - Wednesday, November 26, 2014 6:02 AM | Last reply by chanmm - Thursday, November 27, 2014 2:40 AM -
0 Votes
returning sqlconnect to web service
IsNullOrEmpty( sServer ) ) { SqlConnection ^sqlconnect2 = ConnectToSQLServer( NULL ); return( sqlconnect2 ...Answered | 1 Replies | 4198 Views | Created by Boyd1 - Wednesday, July 22, 2009 2:09 PM | Last reply by John Saunders - Wednesday, July 22, 2009 3:35 PM -
4 Votes
SqlConnection statement returns "not found in namespace" error?
It turns out the 'New Project' template I used wasn't allowing the use of SQLConnection.Answered | 19 Replies | 2041 Views | Created by james9oo0 - Tuesday, February 20, 2018 2:52 PM | Last reply by Jack Zhai-MSFT - Tuesday, February 27, 2018 5:23 AM -
0 Votes
Using a connection string with sqlconnection object
http://blogs.msdn.com/b/csharpfaq/archive/2004/05/06/why-do-i-get-the-error-object-reference-not-set-to-an-instance-of-an-object.aspx Best ...Answered | 4 Replies | 1468 Views | Created by TonyLoco23 - Thursday, January 31, 2013 9:07 PM | Last reply by Bob Wu-MT - Monday, February 4, 2013 9:27 AM -
1 Votes
Application-defined or object-defined error
I am calling VB component files from the ASP file and I am getting the Application-defined or object-defined error.Answered | 1 Replies | 3800 Views | Created by Hari Ch - Tuesday, July 14, 2009 3:00 PM | Last reply by kaymaf - Tuesday, July 14, 2009 3:25 PM -
0 Votes
Single SQLConnection in whole project
So I finished with something like this: public class ExtensionMethods { public static SqlConnection Conn = new ...Answered | 2 Replies | 503 Views | Created by glaeran - Tuesday, November 25, 2014 8:58 AM | Last reply by glaeran - Tuesday, November 25, 2014 11:33 AM -
1 Votes
My sqlConnection not working, why?
It might take a while before an exception is thrown and you will see the error message if the connection fails for some reason.Answered | 3 Replies | 1039 Views | Created by Okie Eko Wardoyo - Wednesday, August 6, 2014 12:58 PM | Last reply by Okie Eko Wardoyo - Wednesday, August 6, 2014 1:18 PM -
0 Votes
Error Application-defined or object-defined error
Hi I am getting "Application-defined or object-defined error" while running a macro with the below code: Dim n n = 2 Do While ...Answered | 1 Replies | 2042 Views | Created by Prodosh - Tuesday, November 8, 2011 5:57 AM | Last reply by Hans Vogelaar MVP - Tuesday, November 8, 2011 6:43 AM -
1 Votes
keep one sqlconnection alive
The SqlConnection object automatically supports connection pooling so that you don't have to worry about keeping the connection around.Answered | 1 Replies | 4717 Views | Created by Jassim Rahma - Thursday, April 8, 2010 11:31 PM | Last reply by Jason Kresowaty - Friday, April 9, 2010 12:19 AM -
0 Votes
not defined error
Hi, Simple typo error.Answered | 1 Replies | 325 Views | Created by arkiboys - Friday, June 26, 2015 5:21 AM | Last reply by KashishArora - Friday, June 26, 2015 5:32 AM -
2 Votes
SET ARITHABORT ON for the SqlConnection
Hi Albert, The work-around I used was to put the stored procedure in another database on the same server (this database was correctly configured to avoid ...Answered | 4 Replies | 19377 Views | Created by dgolds - Monday, July 30, 2007 10:05 PM | Last reply by De Data - Thursday, July 28, 2011 2:20 AM -
0 Votes
Unmanaged Resouce SQLConnection
Hi, Since ADO.NET 2.0 the SqlClient - including SqlConnection - is fully managed code.Answered | 4 Replies | 933 Views | Created by shamas2121 - Wednesday, July 16, 2014 9:48 AM | Last reply by Cor Ligthert - Wednesday, July 16, 2014 1:06 PM -
0 Votes
SqlConnection Class for multiple forms
Hi Ricardo, You don't get any advantage, by the opposite, in doing this because ADO.NET manages that for you behind the scene and reuse the SQL connections by himself even when ...Answered | 4 Replies | 1619 Views | Created by Ricardo M.S. _ - Tuesday, January 21, 2014 4:23 PM | Last reply by Jeetendra Khandelwal - Wednesday, January 22, 2014 8:05 AM -
0 Votes
Application-defined Or Object-defined Error
There isn't any error shown again.Answered | 4 Replies | 438 Views | Created by Shell Hu - Thursday, December 8, 2016 7:24 AM | Last reply by Deepak Saradkumar Panchal - Friday, December 9, 2016 12:42 AM -
0 Votes
Query SqlConnection for enlistment
public static bool CheckEnlisted(SqlConnection con) { object myObject = ...Answered | 2 Replies | 2224 Views | Created by Alex V. Ivanoff - Friday, February 10, 2012 10:33 PM | Last reply by Alex V. Ivanoff - Tuesday, February 14, 2012 6:28 PM -
5 Votes
SqlConnection, Dispose() vs Close()
In the specific case of SqlConnection, both return the underlying connection to the pool.Answered | 7 Replies | 52274 Views | Created by DragSelect - Thursday, April 15, 2010 4:19 PM | Last reply by DragSelect - Sunday, April 18, 2010 2:42 AM - Items 1 to 20 of 1418729 Next ›
No announcements