请问使DBGrid中字段为Memo内容显示在DBListBox中?每一个Memo项为DBListBox中的一个Line.(100分)

N

netmax

Unregistered / Unconfirmed
GUEST, unregistred user!
请问使DBGrid中字段为Memo内容显示在DBListBox中?每一个Memo项为DBListBox中的一个Line.
 
为什么没有人甩我?
 
请问有人知道么?
 
你试过了吗?
dblistbox1.Items.Assign (dbmemo1.Lines );
 
adotable1.First;
DBListBox1.Items.Clear;
while not adotable1.eof do
begin
DBListBox1.Items.Add(adotable1.fieldbyname('bz').asstring);
adotable1.next;
end;
adotable1.First;
 
dblistbox1.Items.Text :=dbgrid1.Fields[6].AsString ;
fields[6]为memo的那个字段!
 
顶部