如何从文本框向中继器添加值并将中继器保存到数据库 [英] how to add value from textbox to repeater and save repeater to database

查看:199
本文介绍了如何从文本框向中继器添加值并将中继器保存到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个下拉列表.
我希望ddl的onselect事件将ddl的选定文本添加到转发器中.每次在ddl中选择项目时,都会在转发器中创建新行.
在转发器的ecah行的第二列中,有一个删除按钮,用于删除特定行.

最后,我想将这些数据从转发器(当然,在计算完行号之后)保存到数据库中.

请提供示例.

There is dropdownlist.
I want that onselected event of ddl the selected text of ddl will be added to repeater.Each time of selection of item in ddl a new row will be created in repeater.
In the second column of ecah row in repeater there is a delete button for delete the particular row.

In the last i want to save these data from repeater(ofcourse after counting the no of row) to the database.

Please help with example.

推荐答案

就地编辑使用ASP.NET中继器 [^ ]


这篇关于如何从文本框向中继器添加值并将中继器保存到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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