private string GetTypeName(int id) { BLL.memberType bllmt = new BLL.memberType(); if (id == 0) { return(""); } return(bllmt.GetModel(id).TypeName); }