请问如何在Combobox中列出指定表的所有字段名? 请问如何在Combobox中列出指定表的所有字段名? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Table1.GetFieldNames(combobox1.Items); table1.fields[i].Name 字段名table1.fields[i].DisplayName 显示名table1.fields[i].DataType 字段类型table1.fields[i].DataSize 内部存储所用字节数 ADOConnection1.GetFieldNames('Employee', Combobox1.Items);Database1.GetFieldNames('Employee', Combobox1.Items);其中Employee为表名。或者可以用:ADOTable1.GetFieldNames(Combobox1.Items);Table1.GetFieldNames(Combobox1.Items); combobox1.Items.Assign(adoTable.FieldList); combobox1.Items.Assign(adoTable.FieldList); 精典之作! 求教如何检测网页编码? 如何隐藏进程 ADO ACESS 同步问题 一个复杂的问题 delphi初学者 请教!winsock连接服务器后使用recv时出现死机 帮忙看一下,串行口收不到数据(在线等待) 关于delphi5开发人员指南中讲的那个midas技术的那章的问题。 线程资源释放的怪问题 急急!!!!请问各位高手,在DELHPI5怎样取98注册表中的值???? FindWindowEx函数 求助!!
table1.fields[i].DisplayName 显示名
table1.fields[i].DataType 字段类型
table1.fields[i].DataSize 内部存储所用字节数
Database1.GetFieldNames('Employee', Combobox1.Items);
其中Employee为表名。或者可以用:
ADOTable1.GetFieldNames(Combobox1.Items);
Table1.GetFieldNames(Combobox1.Items);