protected void gv_List_RowDeleting(object sender, GridViewDeleteEventArgs e) { int i = Int32.Parse(gv_List.DataKeys[e.RowIndex].Value.ToString()); QNA_QuestionBLL q = new QNA_QuestionBLL((int)ViewState["ID"]); q.DeleteDetail(i); gv_List.BindGrid <QNA_QuestionOption>(new QNA_QuestionBLL((int)ViewState["ID"]).Items); }
protected void gv_List_RowDeleting(object sender, GridViewDeleteEventArgs e) { int i =Int32.Parse( gv_List.DataKeys[e.RowIndex].Value.ToString()); QNA_QuestionBLL q = new QNA_QuestionBLL((int)ViewState["ID"]); q.DeleteDetail(i); gv_List.BindGrid<QNA_QuestionOption>(new QNA_QuestionBLL((int)ViewState["ID"]).Items); }