예제 #1
0
        public string GetDrbh(string xfdr)
        {
            string drbh = "";

            BLL.Xxfdr   B_Xxfdr = new BLL.Xxfdr();
            Model.Xxfdr M_Xxfdr = new Model.Xxfdr();
            DataSet     ds      = B_Xxfdr.GetList("xfdr='" + xfdr + "'");

            if (ds.Tables[0].Rows.Count > 0)
            {
                drbh = ds.Tables[0].Rows[0]["drbh"].ToString();
            }
            else
            {
                drbh = "";
            }

            return(drbh);
        }