Esempio n. 1
0
        protected void ReportList_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            int       ReportID = Convert.ToInt32(ReportList.DataKeys[e.RowIndex].Value.ToString());
            ReportBLL ReportBL = new ReportBLL(connectionString);

            ReportBL.DeleteIncidentReport(ReportID);
            BindData();
        }