首页 > 代码库 > dateTable

dateTable

DataSet ds = dal.GetInventory();
foreach (DataTable dt in ds.Tables)
{
foreach (DataRow dr in dt.Rows)
{
InventoryList.Add(new icbc_invtorylist()
{
pruduct_num = dr["goodsid"].ToString(),
pruduct_status = Convert.ToInt32(dr["inventory_warehouseshop"]) > 0 ? 0 : 1
});

}
}

dateTable