else if (e.CommandName == "Delete") { string filename; int index = Convert.ToInt32(e.CommandArgument); objinfo.IntInformationID = index; DataSet ds = objinfo.DeletePdfDocument(); string strPath = string.Empty; filename = ds.Tables[0].Rows[0]["strDocument"].ToString(); strPath = Server.MapPath("Documents") + "\\" + filename; File.Delete(strPath); objinfo.GetinfoDelete(); Response.Redirect("frmManageCode.aspx"); }
folder
pdf
permission
grant
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)