动态加载下拉列表 [英] Dynamically Load Drop Down List

查看:75
本文介绍了动态加载下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

> 我需要从现有表格中填充一个下拉列表.现有表是另一个表的查找表,但这是旧数据库,我们拥有 使关系正常工作以允许Lightswitch创建下拉控件时遇到的问题.有没有办法获取查询结果并使用值填充下拉列表?

I need to populate a drop down list from an existing table. The existing table is a lookup table for another table, however this is a legacy database and we are having issues with getting the relationships to work to allow Lightswitch to create the drop down control. Is there a way I can take the results of the query and populate the drop down with the values?

推荐答案

不,你不能做自动完成框中的内容.它需要通过关系绑定到另一个实体,或者您可以通过添加数据项"并使用屏幕"属性为选择列表"填充数据,并为该属性定义选择.

No you can't do that in Auto Complete Box. It need to be bound to another entity by relationship or you can populate data with Choise List by adding Data Item and for Screen property define choises for the property.

 

最诚挚的问候

 


这篇关于动态加载下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆