You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Parth Gandhi <pg...@samyak.com> on 2008/06/18 10:57:08 UTC

Need help

   

I am develop my application on .Net 2.0 with use of Ibatis.
I used xml, but I can't bind directly with Controls like textbox, label 
etc...

Can anybody help me regarding this....

Regards,
- Parth




RE: Need help

Posted by "Michael McCurrey (5318)" <mi...@pinggolf.com>.
If your going to use data-binding with a light-weight ORM like Ibatis,
your custom objects should implement the following two interfaces:
  INotifyPropertyChanged
  IDataErrorInfo 

There's tons of information out there about proper handling of them.

For the collections, looking into IBindingList for proper handling of
the collection.

You can also databind directly to the objects using a BindingSource and
then binding to the type declaration..



-----Original Message-----
From: Parth Gandhi [mailto:pgandhi@samyak.com] 
Sent: Wednesday, June 18, 2008 1:57 AM
To: Ibatis User
Subject: Need help

   

I am develop my application on .Net 2.0 with use of Ibatis.
I used xml, but I can't bind directly with Controls like textbox, label
etc...

Can anybody help me regarding this....

Regards,
- Parth