dataGridView private void dataBind(Object dataObject)
{
list = cargoBll.Select_SId(num);
list1 = commod.getTakeCommodityInfo();
System.Windows.Forms.DataGridView dv = (DataGridView)dataObject;
int i =0;
foreach (CargoInfo car in list)
{
dv[0, i].Value = car.CId;
dv[1, i].Value = car.CargoNames;
dv[2, i].Value = car.Unit;
dv[8, i].Value = car.IsGift;
dv[9, i].Value = car.ShutDow;
i++;
}
int n = 0;
foreach(TakeCommodityInfo t in list1)
{