}
protected void grv_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
string str = ((TextBox)grv.Rows[e.RowIndex].FindControl("type")).Text.ToString();
string id = grv.DataKeys[e.RowIndex].Value.ToString();
bnews.updateNewsType(str, id);
grv.EditIndex = -1;
grvBind();
JS.Alert(Page, "新闻类型更新成功!");
}