.net如何从后台获取repeater中的控件值
2011-08-15 12:01
225 查看
repeater OnItemCommand 事件中 TextBox txt = (TextBox)e.Item.FindControl("repeater中控件名称"); 然后执行数据库更新操作,更新数据
foreach (RepeaterItem item in Repeater1.Items)
{
TextBox txtNiName = (TextBox)item.FindControl("txtNiName");
string name=txtNiName.text;
}
相关文章推荐
- .net 如何在后台添加控件,并获取值。
- Asp.net中从后台中如何获取html控件
- Asp.net中从后台中如何获取html控件的值?
- 关于Repeater如何获取控件对象
- 如何用js在repeater中获取服务器控件的id
- 再Repeater模板中,如何获取里面的控件 客户端ID ??
- 如何在后台代码获取控制EditItemTemplate的控件
- 牛腩购物9 用户表设计/动软生成器/金钱字段decimal(18, 2)/ 注册的时候的前台js判断/后台代码判断/正则表达式软件/RegexBuddy/设置数据库字段的唯一性约束/如何获取控件在前台html的id值/如何将C#的后台正则换成js的正则
- 在Repeater和ListView中如何获取子控件
- .net 获取repeater中客户端控件值
- asp.net cs 后台如何获取前端页面控件的内容
- Asp.net中从后台中如何获取html控件的值?
- .net中如何在服务器端获取客户端的html标签控件。
- .NET关于Repeater如何遍历里面的CheckBox,并且怎么获取每一列的值!(三张表的)
- .net后台获取html控件值的2种方法
- gridview,repeater,datalist等从后台获取前台控件的ID——总结
- 客户端的javascript改变了asp.net webform页面控件的值,后台代码中如何获取修改后的值。
- .net后台获取html控件值的2种方法
- 项目杂记——在后台获取Repeater控件里面的控件
- ASP.Net 如何让后台的cs页面获取到前台的html控件的值