Пример #1
0
        public bool is_value(string strlsbh, string xrbh, out string Xxfxr_id)
        {
            Xxfxr_id = "";
            bool f = false;

            BLL.Xxfmx_lkmx B_lkmx = new Hotel_app.BLL.Xxfmx_lkmx();
            DataSet        ds     = B_lkmx.GetList("lsbh='" + strlsbh + "' and mxbh='" + xrbh + "'");

            if (ds != null && ds.Tables[0].Rows.Count > 0)
            {
                Xxfxr_id = ds.Tables[0].Rows[0]["id"].ToString();
                f        = true;
            }
            return(f);
        }