Exemplo n.º 1
0
        /// <summary>
        ///To fetch location details and assign to textbox
        /// </summary>

        private void Get_location_Details()
        {
            LocationClassificationBLL BLLobj = new LocationClassificationBLL();

            int LOCTNCLASFCTNID = 0;

            if (ViewState["LOCTNCLASFCTNID"] != null)
            {
                LOCTNCLASFCTNID = Convert.ToInt32(ViewState["LOCTNCLASFCTNID"]);
            }

            LocationClassificationBO BOobj = new LocationClassificationBO();

            BOobj = BLLobj.GetLOCTNCLASFCTNID(LOCTNCLASFCTNID);

            txtcompland.Text = BOobj.LOCTNCODE;
            txtLocation.Text = BOobj.LOCTNCLASFCTNNAME;
        }