sqlconnection
CSharp: How do I make a SQL declare/set command persist in a SQLConnection?
I have a class that contains all of my SQL objects, including the methods to make a database connection and execute a query.[详细]
2023-02-17 19:27 分类:问答Error Opening SQL Server Connection on Web Server
Here is my Error: ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user \'NT AUTHORITY\\ANONYMOUS[详细]
2023-02-16 11:30 分类:问答.NET - SqlConnectionStringBuilder.AsynchronousProcessing
Maybe a silly question, but I\'m wondering why, when using SqlConnectionStringBuilder, I would ever want to make .AsynchronousProcessing false. I\'m sure it\'s my inexperience, but I can\'t figure out[详细]
2023-02-16 11:09 分类:问答JDBC Drivers for SQL Server 2008
I am trying to connect from a Java app to a SQL Server 2008 database, in Eclipse.So far I have tried using SQL Explorer and the latest JDBC drivers from开发者_开发知识库 Microsoft, but I haven\'t had[详细]
2023-02-16 10:15 分类:问答stored procedure (Visual Studio ASP.Net 2005 C#)
I made a stored procedure called \"usp_insertempdata\" that inserts data into the database table called \"Employee\", so i executed it and when i save data i brings an exception:[详细]
2023-02-11 05:43 分类:问答SqlConnection.Open() hangs on Windows XP
I have a simple piece of code in a .NET console application that tries to open an SQL connection to a server:[详细]
2023-02-08 05:50 分类:问答Error trying to connect to SQL Server using C#
My code is as follows: string constring = \"Data Source=132.186.127.169\"+ \"Initial Catalog=CadPool1;\" + \"Integrated Security=True\";[详细]
2023-02-06 19:46 分类:问答memory leak / badly written code or both - properly disposing of sqlconnection?
I am investigating an issue with a .net 1.1 web application where it seems that we had quite a few \"Internal connection fatal error\" exceptions possibly the connection objects staying open or not di[详细]
2023-02-05 16:14 分类:问答ExecuteScalar throws NullReferenceException when calling a stored proc that returns 1
I\'ve done some research before posting this question and I\'m aware of the fact that when there\'s no data returned, ExecuteScalar will throwa System.NullReferenceException. That is why I modified my[详细]
2023-02-05 13:48 分类:问答.net SQL Server stored procs wrapper class structure
I\'m looking to write a C# SQL Server wrapper to call some stored procedures.If I was writing a single function I\'d do something like the following (which I think is correct/proper):[详细]
2023-02-05 12:57 分类:问答