.net如何从后台获取repeater中的控件值 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; }