Im populating a gridwiew with an object. The object is a shopping cart with cartitem objects in it.
grdwCart.DataSource = Cart.CartItems;
I have done this other places in the site, and it has worked.
Now i have copied the same code to another place and i get this message: Invalid attempt to call FieldCount when reader is closed. I guess it has to be something that i missed when copying. It would just help alot if i understood the error message.
I don,t know what that means?