sqlconnection
When a SqlConnection is kept open, does it update?
In my ASP.NET project, I create/open a SqlConnection when necessary, and close it at Application_EndRequest[详细]
2023-04-08 09:52 分类:问答Does using (var connection = new SqlConnection("ConnectionString")) still close/dispose the connection on error?
I have the following code try { using (var connection = new SqlConnection(Utils.ConnectionString)) { connection.Open();[详细]
2023-04-07 06:05 分类:问答SqlConnection Problems in asp.net
i have created a 3tier application.. where i want to call the update method which connect the database and update the records accordingly.[详细]
2023-04-06 07:19 分类:问答Return Two Datasets from DataSnap Server in One Request
2012-06-27 Comment The Original Post has some useful code, but doesn\'t really illustrate how to return multiple datasets from a DataSnap server in one request from a client app.To see an example of[详细]
2023-04-01 09:33 分类:问答SqlConnection in C#
In VB.NET I can use: Protected Conn As New SqlConnection(ConfigurationManager.Conne开发者_如何学PythonctionStrings(\"Active\").ConnectionString)[详细]
2023-03-30 03:52 分类:问答Difference between Sql Connection and OLEDB Connection
What is th开发者_运维问答e difference between the SQL Connection and OLEDB Connection? Is that OLEDB is common to all (also SQL Server)? To which are all Servers, OLEDB is using?The advantage of using[详细]
2023-03-29 16:55 分类:问答How to use the ConfigurationManager.AppSettings
I\'ve never used the \"appSettings\" before. How do you configure this in C# to use with a SqlConnection, this is what I use for the \"ConnectionStrings\"[详细]
2023-03-28 19:35 分类:问答Threading + Unit Test + SqlConnection calls is not working. It works fine not using threading
The main idea is I want to call out to 4 different databases at the same time instead of one at a time. So I am using threading and when it attempts to open the sql connection I get:[详细]
2023-03-26 12:45 分类:问答speed up UPDATE operation
Please help me speed up UPDATE operation on the table. Table has on unique id, which used to find record and UPDATE its fields.[详细]
2023-03-24 10:35 分类:问答C# ADO.NET Exception: ExecuteReader: Connection property has not been initialized
Hi I am trying to get some data from a simple database that I have created using a separate control on the main form. This program runs however when I try to view the main form in designer view I get[详细]
2023-03-23 10:56 分类:问答