GridView批量排序

【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); }

    推荐阅读