Binding to custom data class

  • Thread starter Thread starter Bill Youngman
  • Start date Start date
B

Bill Youngman

I am relatively new to .net programming and am developing a client/server
app for a client and have a question concerning databinding controls.

My question is can I write a custom class to handle database operations and
still be able to bind controls to the datasets contained in the custom class
much the same way that I can bind a control to a dataset that I have
embedded in the form.

TIA,
Bill Youngman
 
Hi,

yes you can. One main important thing with binding is that the class (which
needs to be the data source), should implement collection interfaces, at
least the IEnumerable.
 
Back
Top