protected void btnSave_Click(object sender, EventArgs e)
 {
     try
     {
         int    Flag       = 1;
         String Createdate = "";
         if (btnSave.Text != "Update")
         {
             Flag = 0;
             if (ValidateSaveField() == false)
             {
                 return;
             }
         }
         else
         {
             if (ValidateUpdateField() == false)
             {
                 return;
             }
         }
         ISatellite SatelliteMgr = (ISatellite)ObjectFactory.CreateInstance("BusinessProcess.Administration.BSatellite, BusinessProcess.Administration");
         int        Satellite    = (int)SatelliteMgr.SaveUpdateSatellite(ViewState["ID"].ToString(), txtSatelliteID.Text, txtSatelliteName.Text, ddStatus.SelectedValue, Convert.ToInt32(txtPriority.Text), Flag, Convert.ToInt32(Session["AppUserId"]), Createdate);
         redirect();
     }
     catch (Exception err)
     {
         MsgBuilder theBuilder = new MsgBuilder();
         theBuilder.DataElements["MessageText"] = err.Message.ToString();
         IQCareMsgBox.Show("#C1", theBuilder, this);
     }
     finally
     {
         //SatelliteMgr = null;
     }
 }