delphi 列出DBGridEH被选中的值


本文整理自网络,侵删。

 //列出DBGridEH被选中的值
procedure TForm1.N4Click(Sender: TObject);
 Var
    I:Integer;
begin
   for I := 0 to DBGridEh4.SelectedRows.Count-1 do
      begin
        DBGridEh4.DataSource.DataSet.GotoBookmark(pointer(DBGridEh4.SelectedRows.Items[i]));
        Memo1.Lines.Add(DBGridEh4.Fields[1].AsString);
      End;
end;

相关阅读 >>

Delphi 文件/流的加密解密方法

Delphi application.restore; 简单用法

Delphi 快速调用resource资源数据

Delphi hide

Delphi 百度输入提示 Delphi 实现

Delphi system.sysutils.tmarshaller 与 system.tmarshal

Delphi xe 如何使用自带皮肤

Delphi cef4Delphi chromium1 设置user-agent

如何访问局域网的access数据库

Delphi repeat 递增/递减输出

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...