📄 readme.html
字号:
<td>C++ header file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>17</td>
<td>font.cpp</td>
<td>C++ source file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>18</td>
<td>picture.h</td>
<td>C++ header file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>19</td>
<td>picture.cpp</td>
<td>C++ source file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>20</td>
<td>rowcursor.h</td>
<td>C++ header file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>21</td>
<td>rowcursor.cpp</td>
<td>C++ source file</td>
<td>Used by MSFlexgrid control class.</td>
</tr>
<tr>
<td>22</td>
<td>ConnectionParams.h</td>
<td>C++ header file</td>
<td>This file contains connection parameters to connect to particular database. </td>
</tr>
<tr>
<td>23</td>
<td>OraOLEDB.h</td>
<td>C++ header file</td>
<td>Include file for Oracle Provider for OLEDB</td>
</tr>
<tr>
<td>24</td>
<td>StdAfx.h</td>
<td>C++ header file</td>
<td>This includes standard system include files,or project specific
include files that are used frequently, but are changed infrequently</td>
</tr>
<tr>
<td>25</td>
<td>StdAfx.cpp</td>
<td>C++ source file</td>
<td>This is source file that contains the standard includes</td>
</tr>
<tr>
<td>26</td>
<td>StoredProcedure.sql</td>
<td>SQL script file</td>
<td>This file contains the sql script to create the stored packages,
stored procedures and synonyms required by the sample.</td>
</tr>
<tr>
<td>27</td>
<td>res/OleMR.rc2</td>
<td>Resource script file</td>
<td>Resource file</td>
</tr>
<tr>
<td>28</td>
<td>res/OleMR.ico</td>
<td>Image file</td>
<td>Icon file</td>
</tr>
<tr>
<td>29</td>
<td>OleMR.dsp</td>
<td> Project file</td>
<td>VC++ Project file</td>
</tr>
<tr>
<td>30</td>
<td>OleMR.dsw</td>
<td>Workspace file</td>
<td>VC++ workspace file</td>
</tr>
<tr>
<td>31</td>
<td>OleMR.clw</td>
<td>CLW file</td>
<td>Contains the class wizard information for the project</td>
</tr>
<tr>
<td>32</td>
<td>imageQ71.jpg</td>
<td>Image file</td>
<td>Used by ReadMe.html</td>
</tr>
<tr>
<td>33</td>
<td>imageUV5.jpg</td>
<td>Image file</td>
<td>Used by ReadMe.html</td>
</tr>
<tr>
<td>34</td>
<td>imageFTS.jpg</td>
<td>Image file</td>
<td>Used by ReadMe.html</td>
</tr>
</table>
<br>
<h2>
<a NAME="5. Prepare and Run the Sample"></a><font face="Arial,Helvetica"><font color="#000099">Prepare
and Run the Sample</font></font></h2>
<font face="Arial,Helvetica"><font color="#000099">
</font></font>1. Extract the Sample files. Unzip VCOLEMRecordsSample.zip
using Winzip or command utility.
<p><font color="#000000">
2. Connect to Oracle Sql*plus using <username>/<password>@<connectstring>
.</font>
<br><font color="#000000">
Here <username> refers to the user in which all the tables have been
created and <password> refers to the password given for the above user</font>
<br><font color="#000000">
<connectstring> refers to the hostname.</font>
<p><font color="#000000">
3. Make sure you have created the database tables required by this
sample. Refer db8setup.html for more information about setting up the</font>
<br><font color="#000000">
database tables and populating data.</font>
<p><font color="#000000"><font face="Arial,Helvetica">
4.</font> Create Database Stored Procedure by running StoredProcedure.sql
script.</font>
<br><font color="#000000">
SQL> @<path>StoredProcedure.sql</font>
<p> 5. Open OleMR.dsw
using VC++ 6.0.
<p> 6. Edit ConnectionParams.h
file to change the database connection parameters i.e. database name, user
name and password to database you
<br>
want to use. Save the file.
<p> 7. Build and
Run the sample.
<br>
<h3>
<a NAME="Steps followed in the sample"></a><font face="Arial,Helvetica"><font color="#000099">Steps
in the sample</font></font></h3>
<p><br><font face="Arial,Helvetica"><font color="#000099">
1. </font></font>The user has two options as shown in fig 1:
<center>
<p><img SRC="imageU5V.JPG" height=316 width=374></center>
fig 1
<p> a. View Product Information
<p> This part shows
the feature of returning multiple recordsets and setting 'PLSQLRSet' property
through command object.
<br> It shows the
output in two categories, one for 'Orderable' products
and other for 'Under Development' products.
<br> The output screen
is as shown in fig 2.
<center>
<p><img SRC="imageFTS.JPG" height=418 width=571></center>
<p>
fig 2
<p> b. Insert Product Details.
<p>
The option 'Insert Product Description' is to be selected in fig 1.
<p>
Following screen is displayed
<br>
<br>
<br>
<center>
<p><img SRC="imageQ71.JPG" height=476 width=468></center>
fig 3
<p> Here
the user can insert product name and description in different languages.
<br>
The user selects product from the first combo box and the language
in second combo box.
<br>
The existing name and description are retrieved from database and
shown in text boxes. The user can update the product information .
<br>
If the data does not exists, it gets inserted in the database.
<p> When
user clicks 慜K
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -