P
pei_world
the following codes are error occurs.
basically, I set a breakpoint at BuildingTN, I trace it, and it come up my
intended table, but when I run the program, in my component cobInside, it
always displays somethings from my other table.
DataSet ds = officeAux.DSource;
officeAux.DA.Fill(ds,BuildingTN);
for(int i=0;i<ds.Tables[BuildingTN].Rows.Count;i++)
{
this.cobInside.Items.Add(ds.Tables[BuildingTN].Rows.ItemArray[1]);
}
does anyone know what happen??
pei
basically, I set a breakpoint at BuildingTN, I trace it, and it come up my
intended table, but when I run the program, in my component cobInside, it
always displays somethings from my other table.
DataSet ds = officeAux.DSource;
officeAux.DA.Fill(ds,BuildingTN);
for(int i=0;i<ds.Tables[BuildingTN].Rows.Count;i++)
{
this.cobInside.Items.Add(ds.Tables[BuildingTN].Rows.ItemArray[1]);
}
does anyone know what happen??
pei