开发者

Web application Listview question

In a list view in C# how can I make all the fields in a column editable at once? Right now I have the standard edit button which allows me to update just one line at a time. I want the end user to be able to click a button and allow then to开发者_JAVA技巧 edit the column in its entirety.


Rebind the ListView with all TextBoxes when the user clicks edit.

You would have to manually track if you're in edit mode or not and on postback loop through all the rows retrieving the values from the textboxes and store them.

There is no built-in functionallity for what you're trying to do but it's possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜