标题:数据更新的问题?
取消只看楼主
jolly520
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2006-7-18
 问题点数:0 回复次数:0 
数据更新的问题?

我在数据窗口中更改了一个数据,怎么样才能够把他更改到数据库中去呢?
代吗是:
long row_l , col_l
string str_rec
row_l=this.getclickedrow( )
col_l=this.getclickedcolumn( )
if row_l>0 and col_l>0 then
col_str=this.getitemstring( row_l, col_l) //获得点击的那一个数据

dw_1.accepttext()
dw_1.setitem( row_l , col_l , str_rec )  //str_rec为一个更新的数据
this.scrolltorow( row_l )

end if

谢谢啦.!

搜索更多相关主题的帖子: col row 数据 str rec 
2006-07-22 13:42



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-79686-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.804197 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved