摘要:
遇到这样的问题首先要学会分割字符,前面的字母都是不变的,但是后面的数字是自增的,我们不需要对前面的字母进行操作,只需要对后面的数字+1就可以了//DAL中得到表中最大的custcode public static string getLastCopacode() { string sql = "select top(1) copacode from tb_copartner order by copacode desc"; DataTable dt = DBHelper.GetDataSet(sql); if (dt.Rows.Count > 0) { return 阅读全文
posted @ 2013-11-14 13:33
WindowX Sky
阅读(950)
评论(0)
推荐(0)
浙公网安备 33010602011771号