Connecting to a database
-
Client-Server Application Connection Oracle Net enables a network connection between a client and an Oracle database server. Oracle Net is a software component that resides on both the client and on the Oracle database server. It is layered on top of the network protocol. When a connection is initiated from a client to the Oracle database server, data is passed down a stack on the client, over the network, and up a similar stack to the Oracle database server.
18p trinh02 28-01-2013 68 6 Download
-
Bài 7: KẾT NỐI DATABASE. 1. ADO là gì? ADO Có thể dung để truy cập DL từ trang web. ADO là công nghệ của Microsoft ADO được viết tắt là ActiveX Data Objects ADO là một thành phần của Active-X ADO tự động cài đặt khi cài IIS ADO là môi trường lập trình giao tiếp với CSDL- database 1. Cách truy xuất database bằng ADO trong ASP. Cách thông thường để truy cập CSDL từ trang web ASP như sau: 1. 2. 3. 4. 5. 6. 7. Create an ADO connection to a database Open the database connection Create an ADO recordset...
14p tengteng14 20-12-2011 474 21 Download
-
7,1 Tạo một Dialog Box để kết nối đến một cơ sở dữ liệu mới, bao gồm danh mục Available SQL Server và cơ sở dữ liệu người dùng đôi khi cần phải kết nối với cơ sở dữ liệu khác nhau.
10p luvpro 06-08-2010 93 6 Download
-
[ Team LiB ] Recipe 1.17 Using Transactions with Pooled Connections Problem You want to use connection pooling with transactions in your .NET application to maximize performance. Solution The discussion explains how to use connection pooling with transactions.
1p luvpro 04-08-2010 84 5 Download
-
[ Team LiB ] Recipe 4.13 Updating Data Asynchronously Using Message Queuing Problem You need to asynchronously update data on a database on system that is not always connected. Solution You must use message queuing and an XML DiffGram to
5p luvpro 04-08-2010 81 9 Download
-
Connecting to a Secured Access Database Problem You want to connect to a Microsoft Access database that has been secured with user-level security and a workgroup file. Solution Use the Jet OLEDB:System Database attribute in the connection string to specify the path and filename of the workgroup information file or system database.
3p luvpro 04-08-2010 110 3 Download
-
[ Team LiB ] Recipe 1.3 Connecting to a Password-Protected Access Database Problem You want to connect to a Microsoft Access database that has a database password. Solution Use the Jet OLEDB:Database Password attribute in the connection string to specify the password.
3p luvpro 04-08-2010 108 6 Download
-
[ Team LiB ] Recipe 1.18 Changing the Database for an Open Connection Problem You want to change the database that a connection uses without recreating the connection. Solution Use the ChangeDatabase( ) method to change the database for a connection.
2p luvpro 04-08-2010 71 7 Download
-
[ Team LiB ] Recipe 3.9 Finding Rows in a DataView Problem You need to find a row or group of rows in a DataView meeting certain criteria. Solution Use a sorted DataView to find rows using columns that are not part of the primary key. The sample code contains two event handlers: Form.Load Sets up the sample by creating a DataTable containing the Orders table from the Northwind database. A DataView of the table sorted by the CustomerID and EmployeeID is created. Find Button.Click Uses the FindRows( ) method of the DataView to retrieve the array of DataRowView objects...
4p luvpro 04-08-2010 119 5 Download
-
[ Team LiB ] Recipe 1.5 Connecting to an Access Databasefrom ASP.NET Problem You know your connection string is correct, but still can't connect to your Microsoft Access database from your ASP.NET application. What are the differences between connecting from a Windows Forms
2p luvpro 04-08-2010 141 16 Download
-
The output from this program is as follows: count = 1 Milliseconds = 101 mySqlConnection.State = Open count = 2 Milliseconds = 0 mySqlConnection.State = Open count = 3 Milliseconds = 0 mySqlConnection.State = Open count = 4 Milliseconds
7p daisuphu 29-07-2010 94 18 Download
-
Using a SqlConnection Object to Connect to a SQL Server Database You create a SqlConnection object using the SqlConnection() constructor. This constructor is overloaded
7p daisuphu 29-07-2010 162 19 Download
-
Understanding the SqlConnection Class You use an object of the SqlConnection class to connect to a SQL Server database, and this object handles the communication between the database and your C# program.
2p daisuphu 29-07-2010 85 9 Download
-
Performing a SQL SELECT Statement and Storing the Rows Locally In the example featured in this section, you'll see how to connect to the SQL Server
4p daisuphu 29-07-2010 90 7 Download
-
Introducing Visual Studio .NET In the previous sections, you saw programs that connect to various databases, retrieve a row from a table, and display the column values for that row on your computer screen.
7p daisuphu 29-07-2010 124 11 Download
-
Creating a Connection Object Using Visual Studio .NET To create a SqlConnection object using Visual Studio .NET
7p daisuphu 29-07-2010 152 10 Download