public int LayMaMax() { QLKTX.DataLayer.XepLoaiData data = new XepLoaiData(); DataTable table = data.LayMaLonNhat(); try { int i = Convert.ToInt32(table.Rows[0][0].ToString()); return(++i); } catch (Exception e) { e.ToString(); return(1); } }
public void Sua(QLKTX.BusinessObject.XepLoaiInfo info) { XepLoaiData data = new XepLoaiData(); data.Sua(info); }