在asp.net编码中将数据附加到listview? [英] appending data to listview in asp.net coding ?

查看:80
本文介绍了在asp.net编码中将数据附加到listview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的.aspx页面中,我有一个包含3个值的下拉列表,我有一个按钮。当我从下拉列表中选择一个值并单击该按钮时,drp下拉列表的值将填充在列表视图中。到这儿,没关系。但是当我从drp down列表中重新选择另一个值时,之前的值正在被覆盖。



现在我需要所有值保留在列表视图中。如何实现这个

In my .aspx page, i have a drop down list with 3 values and i have a button. when i select a value from drop down list and click the button the value of the drp down list is populating in the listview. upto here it''s fine. but when i reselect another value from the drp down list, the previous value is being over written.

now i need all the values to stay in the list view. how to achieve this

推荐答案





你只能在按钮的列表视图中添加新值单击(新列表())
Hi,

you can only append new values in list view on button click (new List())


这篇关于在asp.net编码中将数据附加到listview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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