Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
UltraWinGrid binding
posted

hi

i am using LINQ to sql in my window application.

i have a grid that i display on it 2 tables from database that has a relation between them.

user can edit data on the grid and i update it on database.

today i dont bind the tables, i populate dataset with the 2 tables, define relation and set the dataset to be the datasource of the grid.

in addition, when user edit data i have a code that check what was updated and update it on database.

is there a simpler and more correct way to work?

how can i bind the 2 tables to the grid?

how can i update data automatically ?

(i am looking for somthing like dataset in ADO.net where these things are very simple. and somthing that will work with UltraWinGrid)

Thanks, Michal