with dataset do
begin
first;
while not eof do
begin
combobox.items.add( FieldByName('col').asString );
next;
end;
end;
要操作哪些控件呢?
begin
first;
while not eof do
begin
combobox.items.add( FieldByName('col').asString );
next;
end;
end;
要操作哪些控件呢?
调试欢乐多
你可以在combobox enter是触发
代码是有,但不知道如何做作,上面的代码要写在哪呢?
begin
first;
while not eof do
begin
combobox.items.add( FieldByName('学号').asString);
next;
end;
end;你把这段代码放再Form的Create或者Show里面执行就行