|
|
|
|
|
Total Hits: 36 | Today: 1
|
Author: Microsoft Corporation
|
Rating:
|
|

This article demonstrates how to fill a DataSet object with the resultset from an Oracle stored procedure. The DataSet object is central to supporting disconnected, distributed data scenarios with ADO.NET. The DataSet is a memory-resident representation of data that provides a consistent, relational programming model regardless of the data source. The DataSet represents a complete set of data, including related tables, constraints, and relationships among the tables....
|
|
|
|
Total Hits: 22 | Today: 1
|
Author: Microsoft Corporation
|
Rating:
|
|

ADO.NET provides new flexibility in how you update your data source. This article describes how you can update a data source that is different from the original data source that you use to create the DataSet object. Earlier versions of Microsoft ActiveX Data Objects (ADO) allow you to update records in a data source other than the original data source of those records, though this is difficult to do. Because ADO.NET is a truly disconnected model and because ADO.NET introduces the DataAdapter obj...
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: VK Infotek Inc.
|
Rating:
|
|

Middle tier equates to the Business tier or Application tier or Logical tier and contains the logic of the application. Middle tier simplifies the client´s access to the database (SQL Server) by isolating the business services from the Database and Presentation tiers. The components of the Application or Business tier are frequently called business services. Middle tier runs on a server and is often called the application server....
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article shows how to fill a DataSet object with the results of one or more database queries, and how to access that data after it is loaded into the DataSet object....
|
|
|
|
Total Hits: 14 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article shows how to fill a DataSet object with the results of one or more database queries, and how to access that data after it is loaded into the DataSet object....
|
|
|
|
Total Hits: 23 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Programmers often need to create databases programmatically. This article describes how to use ADO.NET and Visual Basic .NET to programmatically create a Microsoft SQL Server database. 1. Create a new Visual Basic .NET Windows Application project. Form1 is added to the project by default. 2. Place a Command button on Form1, and change its Name property to btnCreateDatabase and its Text property to Create Database....
|
|
|
|
Total Hits: 34 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Before you use the ImportRow method, you must ensure that the target table has the identical structure as the source table. This sample uses the Clone method of DataTable class to copy the structure of the DataTable, including all DataTable schemas, relations, and constraints. This sample uses the Products table that is included with the Microsoft SQL Server Northwind database. The first five rows are copied from the Products table to another table that is created in memory....
|
|
|
|
Total Hits: 19 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This article describes how to use ADO.NET to connect to a database and to run a command (such as the UPDATE, the INSERT, or the DELETE command) by using a Visual Basic .NET console application. The following list outlines the recommended hardware, software, network infrastructure, and service packs that are required: • Microsoft Windows XP, Microsoft Windows Server 2003, Microsoft Windows 2000 Professional, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, or Microsoft...
|
|
|
|
Total Hits: 43 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This article demonstrates how to use ASP.NET and ADO.NET with Visual Basic .NET to create and to call a Microsoft SQL Server stored procedure with an input parameter and an output parameter. The code sample in this article first checks whether the stored procedure that you will create exists in the database. If the stored procedure does not exist, the code creates a stored procedure that takes one parameter to search the Authors table based on the last name and returns the matching rows and numb...
|
|
|
|
Total Hits: 17 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can use ADO.NET DataTable objects to delete rows and mark them as "Deleted." This article demonstrates how to retrieve the values of a row whose DataRowState enumeration is set to DataRowState.Deleted.You can use the DataRowVersion.Original enumeration value to retrieve the values of a row that has the DataRowState.Deleted enumeration value. You must use DataRowVersion.Original because the values of a deleted row are not available for the current state (DataRowVersion.Current)....
|
|
|
|
Total Hits: 21 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article demonstrates how to take a DataSet that contains data (which is loaded from a database), modify that data, and then send it back to the database to update the original source....
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The Find method queries the primary key column of the DataTable, and locates the record that exactly matches the value that is passed in the search criteria. If the DataTable does not have a primary key, a MissingPrimaryKeyException is raised. The Find method has the following limitations: • The Find method is not case sensitive. • You cannot use Wildcard characters in the Find method. For example, when you use the following code, you may not find all the rows starting with Ch. Instead, yo...
|
|
|
|
|
|