bool SaveRecord() { bool IsSave = false; bool IsString = false; IsString = GlobalVaribles.IsString(txtCityName.Text); BLL.NewWebServices.BE_City NewBEObj = new BLL.NewWebServices.BE_City(); NewBEObj.CityName = txtCityName.Text; //NewBEObj.Created_Id = Convert.ToInt32(GlobalVaribles.dtSession.Rows[0]["UserID"]); NewBEObj.Created_Id = GlobalVaribles.UserID; NewBEObj.Status = chkIsActive.Checked; NewBEObj.Created_At = GlobalVaribles.CurrentServerTime; NewBEObj.Modify_At = GlobalVaribles.CurrentServerTime; IsSave = BLLObj.SaveRecord(NewBEObj); return(IsSave); }