Manipulate Products - DML Operations on DataSet Through Oracle Provider for OLEDB
When this sample application is run, a list
of Products from database is displayed as shown in figure 1.2,
Figure 1.2 Screen shot for Manipulate Products Sample
2. Oracle8i Database or later running SQL*Net TCP/IP listener (can be downloaded here ) 3. Oracle Provider for OLE DB
(can be downloaded here)
in the creation of 'DMLOperOnDS' directory.
SQL prompt SQL> @<your directory structure>\DMLOperOnDS\Config\DatabaseSetup.sql This creates a user "OraNet"
with password "OraNet". All the database objects required by the application
Following is the list of database objects that get created by running DatabaseSetup.sql file.
2. Open DMLOperOnDS.sln using Visual Studio .NET from <your-directory-structure>\DMLOperOnDS\src folder. 3. Edit ConnectionParams.cs file to change the database connection parameters
i.e.TNSName for database 4. Ensure that the following .NET Component References have been added
to DMLOperOnDS project:
To add the above .NET Components5. Build and run the sample.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please enter your comments about this sample in the OTN Sample Code Discussion Forum. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||