阅读背景:

使用数据绑定来获取各种类型的项目列表的输入

来源:互联网 

In my application I am trying to follow the MVVM. But I am stuck with a problem. User inputs name of a particular table(say tab_1) that exists in DB and contains any number of columns. Each column can be any of the following datatypes - int,varchar,bool. I can get the list of column names and their types. Is there any way (that follows MVVM pattern) through which I can can take input for each of the columns using data binding and save the data in the table tab_1? The tables are generated at run time. so only when user input the name of the table, it is possible to know the actual number of columns and their corresponding data types. Please help.In my application I am trying to follow the MVV




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: