/// <summary> /// Creates a new instance of DataBinder. /// </summary> public DataBinder() { _bindedcontrols = new BindedControlCollection(this); _databinding = new DataBinding(this); }
/// <summary> /// Creates a new instance of BindedControl. /// </summary> /// <param name="parent">Parent collection.</param> /// <param name="control">Binded control</param> /// <param name="field">Binded database field name.</param> public BindedControl(BindedControlCollection parent, object control, string field) { _parent = parent; _control = control; _fieldname = field; }