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.
我有一个网页,我必须让用户动态添加/删除组合框。我有一个一年前做的页面,我使用 datalist 控件来保存所有控件。
列表视图控件更好吗?还是有更好的方法?
ListView 比 DataList 更重一些——它提供分页、排序和插入/编辑/删除模板。你可以在这里阅读。
如果你只是为了改变而改变,我不会打扰。如果你真的需要一些额外的功能,那就去吧。如果您对您的实现不满意,可以发布一些代码,这样分析您的方法会更容易。