This question is locked. New answers and comments are not allowed.
I have created a N-Tier solution with a WCF Plain Service and OpenAccess ORM
I have a table containing two columns categoryid and categoryname
I have created a Windows Form with a Toolbar and a grid Control.
I can call the WCF service and get an Array of categories
I want to set the grids datasource to that Array and add new rows, update rows and delete rows and then save the Changes to the database. This doesn't work when the datasource is an Array.
I converted the Array to a BindingList and set this as the datasource.
Ran the Project and added a new row to the grid and tried to save the Changes to the database but this throws an exception.
I would like to have a working sample solution that accomplishes this.
I have looked at the SofiaCarRental sample but this is to complex
I have a table containing two columns categoryid and categoryname
I have created a Windows Form with a Toolbar and a grid Control.
I can call the WCF service and get an Array of categories
I want to set the grids datasource to that Array and add new rows, update rows and delete rows and then save the Changes to the database. This doesn't work when the datasource is an Array.
I converted the Array to a BindingList and set this as the datasource.
Ran the Project and added a new row to the grid and tried to save the Changes to the database but this throws an exception.
I would like to have a working sample solution that accomplishes this.
I have looked at the SofiaCarRental sample but this is to complex