コード例 #1
0
        public static string LayMaNLLonNhat()
        {
            string maNLMax = NguyenLieuDAO.LayMaNLLonNhat();

            if (maNLMax != null)
            {
                int chuyenSo = int.Parse(maNLMax.Replace("NL", ""));
                return("NL" + (chuyenSo + 1).ToString("000"));
            }
            return("NL001");
        }