DataTable helperCheck =base.FindDbInfo("UserPlanService", "GetHelperCheck", ht) as DataTable;
if (Int32.Parse(helperCheck.Rows[0]["countNum"].ToString()) >=1)
{
katsutouLabel.Text = "未";
katsutouLabel.CssClass = "h12l22_red";
}
在LOG中生成的SQL文贴在OB中执行
helperCheck.Rows[0]["countNum"]的结果等于0
但是在程序中helperCheck.Rows[0]["countNum"]等于1各位高手求解啊
这个DataTable获取几行数据,如果是多行,可能helperCheck.Rows[0]["countNum"]就>1呢