I haven't worked much with windows forms apps, but I have worked with ASP.NET quite a bit. Throughout our app we bind to a DataGrid a list of objects or a DataSet that has been returned by DomainObjects. The code typically looks like:
Thanks for your reply.
I have another question:
In the features page it is said that the queries are made againest the objects not the database,Because of that i have to load the entire database in memory to make queries using domainobjects query language and i think that is not effecient,Right?Correct me if i am wrong.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Kariem:
The feactures page tries to explain that you don´t have to write "sql queries" to get any set of data. Using the object model domain objects will build the "sql query" for you.
Regards
Dario K.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Very good,Thanks again.
BTW there is "BindingListView" it is a small component that wraps your object List<> with a sortable,filterable,searchable List and this list is bindind with the datagridview.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
This framework rocks :) thank you guys.
I want to know if databinding for windows forms is supported with sorting and filtering support.
thanks
Hi,
I haven't worked much with windows forms apps, but I have worked with ASP.NET quite a bit. Throughout our app we bind to a DataGrid a list of objects or a DataSet that has been returned by DomainObjects. The code typically looks like:
DataSet results = QueryFacade.FindDataSet<SearchType>(criteria);
dataGrid.DataSource = results;
dataGrid.DataBind();
You can then use the built in features of the DataGrid for sorting, paging, etc.
Hope this helps,
Richard
Thanks for your reply.
I have another question:
In the features page it is said that the queries are made againest the objects not the database,Because of that i have to load the entire database in memory to make queries using domainobjects query language and i think that is not effecient,Right?Correct me if i am wrong.
Thanks
Hi Kariem:
The feactures page tries to explain that you don´t have to write "sql queries" to get any set of data. Using the object model domain objects will build the "sql query" for you.
Regards
Dario K.
Very good,Thanks again.
BTW there is "BindingListView" it is a small component that wraps your object List<> with a sortable,filterable,searchable List and this list is bindind with the datagridview.