Exemplo n.º 1
0
 private void Bindzj()
 {
     BLL.card_type bllct = new BLL.card_type();
     CardType.DataSource     = bllct.GetAllList();
     CardType.DataTextField  = "ct_name";
     CardType.DataValueField = "id";
     CardType.DataBind();
 }
Exemplo n.º 2
0
 //获得证件类型
 public string GetzjName(int id)
 {
     BLL.card_type   fmtype = new BLL.card_type();
     Model.card_type model  = fmtype.GetModel(Convert.ToInt32(id.ToString()));
     return(model.ct_name);
 }
Exemplo n.º 3
0
 private string GetZJ(int id)
 {
     BLL.card_type bllct = new BLL.card_type();
     return(bllct.GetModel(id).ct_name);
 }