使用MVC/MVP设计模式填充组合框 [英] Populate combo box using MVC/MVP Design pattern
问题描述
在GUI中,我需要在组合框中填充一些业务数据.我不确定应该使用哪种设计模式.我是设计模式的新手.任何帮助,将不胜感激.我还需要澄清是否适合使用MVC,为什么不能使用MVP,反之亦然 反之亦然.
In GUI, I need to populate a combo box with some business data. I'm not sure what design pattern should be used for this. I'm new in design pattern. Any help would be appreciated. I also need clarifications over if MVC fits, why MVP can not be used and vice versa.
在其他情况下,我有一个用户控件,其中有一些文本框可用于填充用户信息.在那种情况下,可以使用哪种设计模式.
In other scenario I've a user control which have a few text box to populate user information. In that case which design pattern can be used.
谢谢
Amit
推荐答案
Hi Amit,
Hi Amit,
对于MVC,您可以在 asp.net论坛中发布以获得更好的支持.
For a MVC, you may post in the asp.net forum for better support.
此外,您还需要研究 MVC/MVP .
Also you need a study of MVC/MVP.
最好的问候
这篇关于使用MVC/MVP设计模式填充组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!