hi
i have a form that contains some controls that describe an order and a grid that contains order details
i used an orderCollection and bindingSource
i set the bindingSource datasource Property to orderCollection
i bound the controls in the forms seperatlly to the fields of the collection though bindingSource
then i set the datagridview dataSource property to the same bindingSource and set it's DataMember Property to OrderDetail
when i save the order i use the following code
orderCollection.SaveMulti(tru);
i have some unbound columns in the grid, i calculate the values based on values of other column
the problem is that whenever i change any thing in the orderCollection or even save it
the unbound columns values are gone
examples:
orderCollection[0].OrderDate = DateTime.Now;
orderCollection.SaveMulti(true);
each row of these will cause the unboud column value to disappear
note:
the orderCollection always contain one item
what could be the problem