Example for Data Binding

0
0

Hi, is there an example/doc how to use data binding … EF or Object Binding … or any example that shows binding components (especially a grid) to a sql server data source … best practise in order to show backend validation error messages within the grid view … Best Regards Harald

  • You must to post comments
0
0

Hi Harald,

Wisej DataGridView is just like WinForms DataGridView. Whatever you usually do on WinForms DGV you can and should do on Wisej DGV.

Regarding the validation and error icon, there are several ways of doing it.

Have a look here (MSDN/TechNet) or here (StackOverflow) or even here (CodeProject).

You can also implement IDataErrorInfo on your business object, add an ErrorProvider to your Form and set its DataSource to the same DataSource of the DataGridView. A BindingSource will be ok. It’s explained here (very interesting StackOverflow discussion).

  • Harald Zimmerer
    Hi Tiago, thank you for your suggestions. In the blogs/tutorial section is an announcement of 7 tutorials (including 3 binding tutorials), are they still (2016?) working on it or are these tutorials cancelled?
  • Tiago (ITG)
    Hi Harald. I guess you mean the Docs/Tutorials section. You are correct: the first tutorial is ready (HelloWorld) and there are 7 “Coming Soon” tutorials. I have no information on the status of these tutorials as I’m not with ITG. I’m sure Frank, Luca or someone else from ITG are able to answer your question.
  • Harald Zimmerer
    Hi Tiago, okay … thank you … I was not sure if you are with ITG or not
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.