/// <summary>
        /// To save details to database
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnSave_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                GeographyBO oGeo = new GeographyBO();
                oGeo.GeographicalID   = Convert.ToInt32(ViewState["Geography_ID"]);
                oGeo.ProjectID        = Convert.ToInt32(Session["PROJECT_ID"]);
                oGeo.GeneralDirection = txtGeneralDirection.Text.Trim();
                string sKeyFeatures = "";
                if (txtKeyGeoFeatures.Text.Trim().Length > 1000)
                {
                    sKeyFeatures = txtKeyGeoFeatures.Text.Trim().Substring(0, 1000);
                }
                else
                {
                    sKeyFeatures = txtKeyGeoFeatures.Text.Trim();
                }
                oGeo.KeyFeatures = sKeyFeatures;
                oGeo.UpdatedBy   = Convert.ToInt32(Session["USER_ID"]);

                ProjectBLL objProjectBLL = new ProjectBLL();
                objProjectBLL.AddProjectGeography(oGeo);
                if (btnSave.Text == "Save")
                {
                    ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Added", "alert('Data saved successfully');", true);
                }
                else
                {
                    ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Added", "alert('Data updated successfully');", true);
                }
                ClearDetails();
                BindGrid();
            }
        }