当前位置: 行情首页 >> 技术文章 >> 技术文章 >> datagrid 问题??? V

  • datagrid 问题??? VB / 基础类
  • 2007-10-23 10:35:14 杭州电脑数码城 转载来源:csdn.net
  • 社区 - VB / 基础类

    datagrid 问题???

    freehero () 2000-02-02 22:58:00在 VB / 基础类 提问

    datagrid cursorlocation=client时无论如何也不能保存修改,请高手赐教!!
    问题点数:50、回复次数:1

    1楼 dongdong (阿东) 回复于 2000-02-15 18:19:00 得分 50


    看看MSDN上关于CursorLocation的帮助说明:

    CursorLocation Property - ADO
    Sets or returns the location of the cursor engine.

    Applies To

    Connection, Recordset

    Settings And Return Values

    Sets or returns a Long value that can be set to one of the following constants:
    Constant Description

    adUseClient Uses client-side cursors supplied by a local cursor library. Local cursor engines will often allow many features that driver-supplied cursors may not, so using this setting may provide an advantage with respect to features that will be enabled. For backward-compatibility, the synonym adUseClientBatch is also supported.
    adUseServer Default. Uses data provider or driver-supplied cursors. These cursors are sometimes very flexible and allow for some additional sensitivity to reflecting changes that others make to the actual data source. However, some features of the Microsoft Client Cursor Provider (such as disassociated recordsets) cannot be simulated with server-side cursors and these features will then become unavailable with this setting.



    Remarks

    This property allows you to choose between various cursor libraries accessible to the provider. Usually, you can choose between using a client-side cursor library or one that is located on the server.

    This property setting only affects connections established after the property has been set. Changing the CursorLocation property has no effect on existing connections.

    This property is read/write on a Connection or a closed Recordset, and read-only on an open Recordset.

    Remote Data Service Usage When used on a client-side (ADOR) Recordset or Connection object, the CursorLocation property can only be set to adUseClient.

竟价广告:

    业界行情新闻声明事项:

    • ☉本网转载出于传递更多信息之目的,并不意味着赞同其观点或证实其内容的真实性!
    • ☉如其他媒体、网站或个人从本网下载使用,必须保留本网注明的“稿件来源”,并自负版权等法律责任。如对稿件内容有疑议,请及时与我们联系.
    • ☉如本网转载稿涉及版权等问题,请作者在速来电或来函与杭州电脑数码城网联系.
    • ☉本站网址:http://www.ititt.com/投诉邮箱:6371222@qq.com