private Boolean ValidateUpdateField()
    {
        ISatellite SatelliteMgr = (ISatellite)ObjectFactory.CreateInstance("BusinessProcess.Administration.BSatellite, BusinessProcess.Administration");
        DataSet    theDS        = SatelliteMgr.GetSatelliteByID_Edit(ViewState["ID"].ToString());

        if (txtSatelliteID.Text == "")
        {
            MsgBuilder theBuilder = new MsgBuilder();
            theBuilder.DataElements["Control"] = "Satellite ID";
            IQCareMsgBox.Show("BlankTextBox", theBuilder, this);
            txtSatelliteID.Focus();
            return(false);
        }

        else if (txtSatelliteName.Text == "")
        {
            MsgBuilder theBuilder = new MsgBuilder();
            theBuilder.DataElements["Control"] = "Satellite Name";
            IQCareMsgBox.Show("BlankTextBox", theBuilder, this);
            txtSatelliteName.Focus();
            return(false);
        }

        else if (txtPriority.Text == "")
        {
            MsgBuilder theBuilder = new MsgBuilder();
            theBuilder.DataElements["Control"] = "Priority";
            IQCareMsgBox.Show("BlankTextBox", theBuilder, this);
            txtPriority.Focus();
            return(false);
        }
        else if ((ddStatus.SelectedValue == "1") && (theDS.Tables[1].Rows[0]["No_of_Patient"].ToString() != "0"))
        {
            IQCareMsgBox.Show("SatelliteStatus", this);
            txtSatelliteID.Focus();
            return(false);
        }
        foreach (DataRow DR in theDS.Tables[0].Rows)
        {
            if (DR["SatelliteID"].ToString() == txtSatelliteID.Text)
            {
                IQCareMsgBox.Show("SatelliteID", this);
                txtSatelliteID.Focus();
                return(false);
            }
        }

        foreach (DataRow DR in theDS.Tables[0].Rows)
        {
            if (DR["Name"].ToString() == txtSatelliteName.Text)
            {
                IQCareMsgBox.Show("SatelliteName", this);
                txtSatelliteName.Focus();
                return(false);
            }
        }

        return(true);
    }