public string ToString(enumStruct e) { switch (e) { case enumStruct.MANV: return(MANV.ToString()); case enumStruct.MAPB: return(MAPB.ToString()); case enumStruct.TENNV: return(TENNV.ToString()); case enumStruct.NGAYSINH: return(DateTime.Parse(NGAYSINH.ToString()).ToShortDateString()); case enumStruct.GIOITINH: return(GIOITINH.ToString()); case enumStruct.MA_NGS: return(MA_NGS.ToString()); case enumStruct.BACLUONG: return(BACLUONG.ToString()); case enumStruct.DIACHI: return(DIACHI.ToString()); case enumStruct.ACCOUNT: return(ACCOUNT.ToString()); default: return(""); } }
public string ToString(enumStruct e) { switch (e) { case enumStruct.MADA: return(MADA.ToString()); case enumStruct.MAPB: return(MAPB.ToString()); case enumStruct.TENDA: return(TENDA.ToString()); case enumStruct.DIADIEM: return(DIADIEM.ToString()); case enumStruct.TONGSOGIO: return(TONGSOGIO.ToString()); default: return(""); } }
public string ToString(enumStruct e) { switch (e) { case enumStruct.MAPB: return(MAPB.ToString()); case enumStruct.TENPB: return(TENPB.ToString()); case enumStruct.MATP: return(MATP.ToString()); case enumStruct.DIADIEM: return(DIADIEM.ToString()); case enumStruct.NGAYNC: return(DateTime.Parse(NGAYNC.ToString()).ToShortDateString()); default: return(""); } }