I'm having a problem with the entityCollection of of an object"hiding" columns when its being databinded. The odd thing, is that the hidden columns are displayed when i "extract" and object from the collection. I've checked the entityFactory class of the object in question, and i dont see anything odd. I can't figure out whats going on.
EntityCollection coll = new EntityCollection(new EN_CUST_BANK_MARKETEntityFactory());
Global.da.FetchEntityCollection(coll, null);
//when i display the grid, the BANK_MARKET_DATE column is not being displayed
GridView1.DataSource = coll;
GridView1.DataBind();
//the BANK_MARKET_DATE column is displayed
EN_CUST_BANK_MARKETEntity o = (EN_CUST_BANK_MARKETEntity)coll[0];
Response.Write(o.BANK_MARKET_DATE.ToString());