可加一文本框协助MSFlexGrid捕捉数据再用INSERT 语句插入到数据库中

解决方案 »

  1.   

    Use the Set statement to set the DataSource property, as shown below:Set Text1.DataSource = ADODC1Note   Two older controls, the Data control and RemoteData control, can be used as data sources, however you cannot set the DataSource property of another control or object to either of these controls at run time. For example, the following code will fail:Set Text1.DataSource = Data1    ' Will fail! You can't set DataSource at 
                                  ' run time to an intrinsic Data control.To use either the Data control or RemoteData control as a data source, you can set the DataSource property of bound controls at design time only.当使用data control或 remotedata control 作为datasource的时候,只能在设计时绑定; 不过用ADO好像可以,你可以试一下James