Re: DataBindings.Add



Yes, I know this is a bit odd, but it works for creating a psuedo continuous form. Each cloned instance of a template panel contains the same collection of controls and each one of the controls is bound to the same fields but within a different row in the rows collection.

Dmytro Lapshyn [MVP] wrote:
Hi,

What looks suspicious is that you are trying to bind to a DataRow. This is unusual scenario. Usually one binds to a DataSet or a DataTable (in the former case, the property name must be specified as TableName.ColumnName), and an instance of CurrencyManager created behind the scenes will manage the current row for you.

.