c# - Ms Lightswitch - add dynamic (from code behind) items choice list -


i using microsoft lightswitch framework, need add dynamic items in choice list. far found different posts saying choice list static items , have use separate table if need populate in non-static means.

in case, table not option, want add items manually c# code. need populate years combobox, need add last 3 years, current year, , 1 next year. not achieve through static data or table not idea.

just create lookup table , add relationship , ls rest

you can dynamically populate new table

although won't able delete records have children


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -