取字段中的最大值
string strSQLWhereHYQX = @"zth = '" + modelZD.ZTH.Trim()
+ @"' and sysid =(select max(sysid) from T_ZDZTXXB where zth = '"
+ modelZD.ZTH.Trim()
+ @"' and JD is not null and WD is not null)";
取了字段中的最大值;