Mr. 14F
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { try { //1.重新綁定 GridView1.EditIndex = e.NewEditIndex; //2.重新DataBind Gvlistitem.DataSource = dt; GridView1.DataBind(); } catch (Exception) { throw; } }
沒有留言:
張貼留言