protected void btnDelete_Click(object sender, EventArgs e)
        {
            int returnNumber = -1;
            int rowNumber = 0;
            rowNumber = GetSelectedRow();

            if (rowNumber >= 0)
            {
                string companyID = dgSites.Items[rowNumber].Cells[2].Text;
                string siteID = dgSites.Items[rowNumber].Cells[0].Text;

                CMSBL cmsBL = new CMSBL();
                returnNumber = cmsBL.DeleteSite(companyID, siteID, _userName);
            }

            /*for (int i = 0; i < dgSites.Items.Count; i++)
            {
                CheckBox chkFlag;
                chkFlag = (CheckBox)dgSites.Items[i].Cells[0].FindControl("chkSelect");
                if (chkFlag.Checked)
                {
                    string companyID = dgSites.Items[i].Cells[2].Text;
                    string siteID = dgSites.Items[i].Cells[0].Text;

                    CMSBL cmsBL = new CMSBL();
                    returnNumber = cmsBL.DeleteSite(companyID, siteID, _userName);
                }
            }*/

            if (returnNumber > 0)
            {
                lblMessage.Text = "Successfully deleted the site.";
                lblMessage.ForeColor = System.Drawing.Color.Green;
                LoadSiteDetails();
            }
            else
            {
                lblMessage.Text = "Site Not Deleted.";
                lblMessage.ForeColor = System.Drawing.Color.Red;
            }
        }