DataGrid field binding?

  • Thread starter Thread starter Aaron Smith
  • Start date Start date
A

Aaron Smith

How do you get the System.Windows.Forms.binding for a field that is
bound to a DataGrid Control? With textboxes, it's just the bindings item
property, but I can't seem to find one that works for a datagrid column...
 
Aaron,

To a textbox you bind a single property,

To a datagrid (and combobox and listbox) you bind a complete table or
collection.
With the datagrid using the datasource or the setbinding

(Where with the combobox you can as well bind the .text property however I
was never successfull in that)

For rows is the currencymanager working the same.

I hope this helps?

Cor
 
Back
Top