S shadowno Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-05 #1 如何动态建立一个数据连接,然后用户dbgrid显示出来,要简单明了!在线等。。谢了!! 动态建立Tdatabase,Tsession,Tquery,Tdatasource并且为必要的属性赋值!!
D delphing Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-05 #2 var qry :TQuery; dts :TDataSource; ... begin dts := TDataSource.Create(nil); qry := TQuery.Create(nil); qry.DataSource := dts; ... end;
var qry :TQuery; dts :TDataSource; ... begin dts := TDataSource.Create(nil); qry := TQuery.Create(nil); qry.DataSource := dts; ... end;
S shadowno Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-05 #3 Tdatabase和Tsession怎么办呢!怎么动态增加??