ExecuteScalar

ExecuteScalar,是在有记录的时候返回第一条记录的第一列,必须有记录,否则会报错

原文地址:https://www.cnblogs.com/hateyoucode/p/1708062.html