62,072
社区成员
发帖
与我相关
我的任务
分享
diancai.MeatAmount = Repeater1.FindControl("TextBox1").ToString();
Label MyLabel1 = new Label();
MyLabel1 = (Label)Repeater1.FindControl("Label3");
diancai.MeatDishName = MyLabel1.text.ToString();
foreach (RepeaterItem MyItem in Repeater1.Items)
{
TextBox MyBox = (TextBox)MyItem.FindControl("txtMeatAmount");
diancai.MeatAmount = MyBox.Text.ToString();
}