GridView批量排序

for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
TextBox txtOrderId =(TextBox)this.GridView1.Rows[i].FindControl(“txtOrderId”);
int orderId = StringUtil.StrToInt(txtOrderId.Text);

                bllArticle.UpdateOrderId(orderId, id);
            }

你可能感兴趣的:(repeater)