View Products - Populate Dataset through Oracle Provider for OLEDB
On clicking the 'Close' button, the application gets closed.
Figure 1.2 Screen Shot for DataSet Populate 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 'DSPopulate' directory. Refer Description of Sample Files section for more details.
SQL prompt SQL> @<your directory structure>\DSPopulate\setup\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 DSPopulate.sln using Visual Studio .NET from <your-directory-structure>\DSPopulate 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 DSPopulate project:
To add the above .NET Components
5. Build and run the sample.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please enter your comments about this sample in the OTN Sample Code Discussion Forum. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||