上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 104 下一页

2019年8月12日

Delphi实现树型结构具体实例

摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, DB, ADODB;type PNodeI 阅读全文

posted @ 2019-08-12 20:56 癫狂编程 阅读(701) 评论(0) 推荐(0)

学习 TTreeView [15] - 连接数据库 (作为给 "丁永其" 和 "DELPHI万岁" 两位朋友的回复)

摘要: 本例效果图: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, DB, DBClient, St 阅读全文

posted @ 2019-08-12 20:54 癫狂编程 阅读(250) 评论(0) 推荐(0)

delphi中Treeview的使用介绍

摘要: 今天重点学习了TreeView的使用方法,基本的已经写了,现在主要想说的是如何显示数据库的资料,今天只是做了个较简单的例子,一个父节点下显示数据库中某个field的值。代码如下: procedure TMainForm.TreeviewShow(Sender: TObject); var node1 阅读全文

posted @ 2019-08-12 20:49 癫狂编程 阅读(2618) 评论(0) 推荐(0)

按下F2编辑dxDBTreeView的节点

摘要: 在TdxDBTreeView控件的OnKeyDown事件中写入if Key = VK_F2 thenbegin if DBTreeMain.DBSelected = nil then Exit; DBTreeMain.DBSelected.EditText;end; 阅读全文

posted @ 2019-08-12 20:11 癫狂编程 阅读(279) 评论(0) 推荐(0)

dbtreeview

摘要: http://www.delphipages.com/comp/dynamic_dbtreeview-6302.html https://files.cnblogs.com/files/jijm123/dbtreeview.zip https://www.componentsource.com/pr 阅读全文

posted @ 2019-08-12 19:42 癫狂编程 阅读(179) 评论(0) 推荐(0)

我的dbtreeview–treeview直接连接数据表_delphi教程

摘要: unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBTables, ComCtrls, Grids, DBGrids, 阅读全文

posted @ 2019-08-12 19:35 癫狂编程 阅读(399) 评论(0) 推荐(0)

SqlDbx连接oracle(可用)

摘要: 解压SqlDbx.zip,将SqlDbx放到C:盘根目录1.Path里面增加:C:\SqlDbx Path是为了找tnsnames.ora2.增加系统变量:ORACLE_HOME,路径:C:\SqlDbx ORACLE_HOME是为了找oci.dll 3.用sqlDbx查询时,如果出现中文乱码,则: 阅读全文

posted @ 2019-08-12 16:02 癫狂编程 阅读(495) 评论(0) 推荐(0)

SqlDbx连接oracle(无需安装Oracle客户端)

摘要: 解压SqlDbx.zip,将SqlDbx放到C:盘根目录1.Path里面增加:C:\SqlDbx Path是为了找tnsnames.ora2.增加系统变量:ORACLE_HOME,路径:C:\SqlDbx ORACLE_HOME是为了找oci.dll 3.用sqlDbx查询时,如果出现中文乱码,则: 阅读全文

posted @ 2019-08-12 15:25 癫狂编程 阅读(805) 评论(0) 推荐(0)

Sqldbx连接oracle

摘要: 1,找到tnsnames.ora的存放目录,一般为D:\app\Administrator\product\11.2.0\client_1\network\admin。 2,编辑tnsnames.ora文件: CONN_xinyang = (DESCRIPTION = (ADDRESS = (PRO 阅读全文

posted @ 2019-08-12 15:06 癫狂编程 阅读(661) 评论(0) 推荐(0)

tcxgrid控件中drag a column header here to group by that column移除方法

摘要: dev express的tcxgrid控件初始状态有一个分组的头“drag a column header here to group by that column”; 移除的方法是 optionsview -> groupbybox,选false。 阅读全文

posted @ 2019-08-12 09:10 癫狂编程 阅读(399) 评论(0) 推荐(0)

2019年8月11日

delphi DBTreeview与数据库连接的数据存取

摘要: //操作: procedure TForm1.act_GetListExecute(Sender: TObject); begin FieldList := TStringList.create; TreeView1.items.BeginUpdate; Table1.Close; // 关键!这样才能在插入、更新、删除表数据后实现实时更新 Table1.Open; // 关键! Table1.f 阅读全文

posted @ 2019-08-11 20:10 癫狂编程 阅读(464) 评论(0) 推荐(0)

动手生成 Delphi xe DBTreeview 三级行政图树 省市县

摘要: 表结构及记录 object tarea: TFDQuery Connection = FDConnection1 SQL.Strings = ( 'select *' 'from tArea order by fParentCode') Left = 160 Top = 240 end object 阅读全文

posted @ 2019-08-11 20:00 癫狂编程 阅读(429) 评论(0) 推荐(0)

动手生成 Delphi xe DBTreeview

摘要: tProductType表结构如下 object FDConnection1: TFDConnection Params.Strings = ( 'Database=ClothingTem' 'User_Name=sa' 'Password=123' 'Server=(local)' 'Driver 阅读全文

posted @ 2019-08-11 19:39 癫狂编程 阅读(298) 评论(0) 推荐(0)

TreeView如何实现选中的节点上移或下移 [问题点数:20分,结帖人nww2002]

摘要: 在TreeView中,如何实现选中一节点,右键点击上移或下移 TTreeNode.MoveTo() 一、获得Tree上的结点var NowNode : TTreeNode;begin NowNode := TreeView1.Selected;二、结点上移 Treeview1.Selected.Mo 阅读全文

posted @ 2019-08-11 08:34 癫狂编程 阅读(458) 评论(0) 推荐(0)

2019年8月10日

Dev tdxDBTreeView

摘要: Posted on 2015-10-08 23:33 墨者工作室 阅读(285) 评论(0) 编辑 收藏 可以快速的用tree展示层次结构,无需任何编码;对tree的操作会自动post到数据集;对数据集的操作会 在tree上表现 一、关键 设置 datasource displayField:节点的 阅读全文

posted @ 2019-08-10 02:28 癫狂编程 阅读(352) 评论(0) 推荐(0)

2019年8月9日

CXGRID用法-最新

摘要: 在做AdoHelper实用程序的时候,我用了DevExpress的cxGrid控件.在此之前用的是dbgrid,考虑到不能把所有的数据都拉到本地,我用了动态生成的select top 500的命令.这样很笨.昨天忽然想到,可以看看控件是否支持只拉取一部分数据的,象access那样. GridView 阅读全文

posted @ 2019-08-09 16:01 癫狂编程 阅读(676) 评论(0) 推荐(0)

2019年8月8日

PLSQL 经常自动断开失去连接的解决过程

摘要: 问题背景: 情况是这样的,很多开发同事的PLSQL上班时间开着8个小时,有时候他们出去抽烟后或者中午吃完饭,回来在PLSQL上面执行就报错无响应,然后卡住了半天动弹不了,非得重新登录plsql才生效,我猜猜是因为连接失效的缘故,经常碰到这种情况,还没有影响工作效率和工作心情的。 1,去查看以下CON 阅读全文

posted @ 2019-08-08 14:48 癫狂编程 阅读(959) 评论(0) 推荐(0)

PLSQL Developer连接远程oracle配置(详细解读)

摘要: 一、安装Instant Client 1. 下载Instant Client(轻量级的客户端),作为本地Oracle环境 。 http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html 2. 阅读全文

posted @ 2019-08-08 08:17 癫狂编程 阅读(11737) 评论(0) 推荐(0)

2019年8月7日

delphi type

摘要: 声明: 1. type Name = Existing type; 描述:Type关键词是Delphi的基础部分,不像其它语言,它允许创建变量和过程的新类型(种类)。这些新的类型可以被引用,就像它是语言的一部分一样。 比如:Type TCourtCards = (Ace,Jack,Queen,Kin 阅读全文

posted @ 2019-08-07 08:46 癫狂编程 阅读(1256) 评论(0) 推荐(0)

Delphi中@,^,#,$分别表示什么?

摘要: @:取址运算符; var int:integer; p:^integer; new(P); int:=24; p:=@int; dispose(P); ^:指针的引用解析操作符; var pint:^integer; new(pint); showmessage(inttohex(integer(@ 阅读全文

posted @ 2019-08-07 08:32 癫狂编程 阅读(4234) 评论(0) 推荐(0)

上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 104 下一页

导航

好的代码像粥一样,都是用时间熬出来的