git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@68 b6239004-a887-0f4b-9937-50029ccdca16
36 lines
1.4 KiB
HTML
36 lines
1.4 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
|
</head>
|
|
<body>
|
|
<img src="..\..\da.png" alt="" align="right">
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
|
|
<p class="h1">Dynamic Select Sample</p>
|
|
|
|
<p>
|
|
The sample shows how to use the <b>Dynamic Select</b> feature to decrease network traffic and server load, retrieving only needed columns.
|
|
</p>
|
|
|
|
<p class="h2">Examine the code</p>
|
|
<ul>
|
|
<li>Take a look at the <b>TClientForm.btLoadClick</b> event handler to see how you can fill DataSet using the <b>Dynamic Select</b> feature.</li>
|
|
<li>
|
|
Look at the <b>TClientForm.btUpdateClick</b> event handler to see how updates of the local DataSet can be
|
|
applied to the back-end server database.<br/>
|
|
Note that Update operation always uses the DynamicSelect mode of the previous Fill operation.
|
|
</li>
|
|
</ul>
|
|
|
|
<p class="h2">Getting started</p>
|
|
<ul>
|
|
<li>Run the Sample Server.</li>
|
|
<li>Run the Dynamic Select Sample.</li>
|
|
<li>Try to fill and update DataSet using the <b>Dynamic Select</b> feature.</li>
|
|
<li>Look at the server log, to see the SQL command used on the server and estimate the amount of data sent to the client application.</li>
|
|
<li>Try to fill and update DataSet not using the <b>Dynamic Select</b> feature.</li>
|
|
<li>Look at the server log again to see the amount of data sent to the client application by the server.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |