汗,最基本的你还不会?
Dim Total As LongTotal = DataTables("订单").Compute("Count(订单编号)", "订单编号 = '111'")Output.Show(Total)