Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在组合框下拉列表中显示两列。在此图像下拉列表中仅显示公司 ID,我需要在下拉列表中显示公司 ID 及其名称。怎么显示??请帮忙..
http://i.stack.imgur.com/x5Kuh.jpg
在 sql 查询中,您可以连接 Company id 和 Name。所以你可以同时显示。
例如:select CompanyID+' '+CompanyName as Company,Id from yourtable