用TDBComboBox控件与数据库中的某个字段直接连接,为什么在TDBComboBox控件的列表中始终只有一条记录的信息?
解决方案 »
- x3 studio
- C中的Char型对应该用哪种呢???
- idtcpserver接受数据不完整(遇到字节08会出问题),各位大侠帮忙啊!
- 'WSAStartup 没有应用或者 WSAStartup失败'!!!急啊,恳求高手帮忙!
- 菜鸟在线求教~form间数据传递问题~急!!!(不好意思,分不多,请大虾们帮忙了~!
- 如何用代码弹出tadoConnection的连接字串窗口?
- 经常听说很多电影拍得很‘维美’,比如《菊子红了》《英雄》,但‘维美’究竟是什么意思呀
- 找工作---广东或厦门
- 关于串口通信。寻求解决方案,SOS 在线等候!!!
- 我现在急需找到windows环境下对modem编程的方案及编程资料,最好有相关的API资料或提供有关书籍信息.
- 请问怎样将TColor转化为RGB值?
- 100分相送,急 急 急!!! 周四晚上就要了。大虾们帮帮忙,谢谢!!!
TDBComboBox是用来显示/修改当前那条记录的指定字段的,并不是用来显示某个字段的所有的记录的值的。
可以从这段话看出来:
Use TDBComboBox to allow users to change the value of a field on the current record in a dataset either by selecting an item from a list or by typing in the edit box part of the control. The selected item or entered text becomes the new value of the field if the database combo box抯 ReadOnly property is False. The combo box can be customized to enable or disable typing in the edit region of the control, to display the list as a drop down or as a permanently displayed list, to sort the items in the list, and so on.