<OBJECT classid="clsid:BD96C556-65A3-11D0-983A-00C04FC29E33" ID=ADC HEIGHT=1 WIDTH = 1> </OBJECT>
<BR> <Center> <OBJECT ID="GRID" WIDTH=600 HEIGHT=200 Datasrc="#ADC" CODEBASE="http://<%=Request.ServerVariables("SERVER_NAME")%>/MSADC/Samples/sheridan.cab" CLASSID="CLSID:AC05DC80-7DF1-11d0-839E-00A024A94B3A"> <PARAM NAME="_Version" VALUE="131072"> <PARAM NAME="BackColor" VALUE="-2147483643"> <PARAM NAME="BackColorOdd" VALUE="-2147483643"> <PARAM NAME="ForeColorEven" VALUE="0"> <PARAM NAME="AllowAddNew" VALUE="TRUE"> <PARAM NAME="AllowDelete" VALUE="TRUE"> <PARAM NAME="AllowUpdate" VALUE="TRUE"> </OBJECT> <BR>
The DATASRC parameter in the grid control's OBJECT tag indicates that the data source will be the RDS.DataControl object ADC
. This binds the grid to the returned Recordset and causes the grid to display data when the RDS.DataControl gets a Recordset. The AllowAddNew, AllowDelete, and AllowUpdate parameters enable the grid to take record additions, changes, and deletions from the user.
© 1997 Microsoft Corporation. All rights reserved. |