按日期添加生成单号
摘要:
public string GetNext挂号代码(string 登记日期) { string strReturn = ""; StringBuilder strSql = new StringBuilder(); strSql.Append(" select MAX(Regid) as maxgh"); strSql.Append(" from Us_ghxx "); strSql.Append(" where (select CONVERT(varchar(12) ,Ghrq, 112 ) )='" + 阅读全文
posted @ 2012-04-28 22:18 疯狂的石头陈 阅读(473) 评论(0) 推荐(0) 编辑