很离谱的两天
一定要看清楚sql语句,不能漏,不能少
点击查看代码
public DataTable SelectProductInfo()
{
//very important,查询到商品信息才能填充到GridView,不让GridView为空
string sql = "SELECT ProId, CatId, ProName, ProCost, ProSpell, ProPrice, ProUnit, Remark,DelFlag, SubTime, ProStock FROM ProductInfo where delFlag= 0;";
return SQLiteHelper.FillDataTable(sql);
}

浙公网安备 33010602011771号