private void LandingDateCheck(BLL.DBInteraction dbinteract, string VoyageId)
        {
            Decimal ERate;

            if (VoyageId != "-1")
            {
                if (txtdtLand.Text.Trim() != "")
                {
                    ERate = dbinteract.GetExchnageRate(Convert.ToDateTime(txtdtLand.Text));

                    //txtExcRate.Text = hdntxtExcRate.Value = dbinteract.GetExchnageRate(Convert.ToDateTime(txtdtLand.Text)).ToString();

                    trLandDate.Style.Add("display", " ");
                }
                else
                {
                    trLandDate.Style.Add("display", "none");

                    ERate = dbinteract.GetExchnageRate(DateTime.Today);
                }

                if (decimal.Parse(txtExcRate.Text) < ERate)
                {
                    string msg;
                    msg = "Rate should be Greater than Today's EXchange Rate ";
                    {
                        GeneralFunctions.RegisterAlertScript(this, msg);
                        return;
                    }
                }
            }
            else
            {
                trLandDate.Style.Add("display", "none");
                txtExcRate.Text    = hdntxtExcRate.Value = dbinteract.GetExchnageRate(DateTime.Today).ToString();
                txtdtLand.ReadOnly = true;
            }

            if (VoyageId == "-1")
            {
                int cnt = EMS.BLL.VoyageBLL.IfExistInBL(ddlVessel.SelectedIndex > 0 ? Convert.ToInt32(ddlVessel.SelectedValue) : 0, Convert.ToInt32(VoyageId)).Rows.Count;
                if (cnt <= 0)
                {
                    txtdtLand.ReadOnly = true;
                    txtdtLand.Enabled  = false;
                    dtLand_.Enabled    = false;
                    txtdtLand.Style.Add("background-color", "#E6E6E6");
                }
            }
        }