/// <summary>
 /// Creates a new instance of DataBinding.
 /// </summary>
 /// <param name="binder">Parent DataBinder component</param>
 /// <param name="basecommandtext">Database command text used to deploy automated database record updates</param>
 /// <param name="viewcommandtext">Database command text used to provide customized data binded views specially if records are binded into a grid</param>
 /// <param name="header">Header database binding information</param>
 public DataBinding(DataBinder binder, string basecommandtext, string viewcommandtext, DataBinding header)
 { 
     _binder = binder; _basecommandtext = basecommandtext; 
     _viewcommandtext = viewcommandtext; _header = header;
     _details = new DataBindingCollection(this);
     _requiredfields = new RequiredFieldCollection(this);
 }
 /// <summary>
 /// Creates a new instance of DataBinding.
 /// </summary>
 /// <param name="binder">Parent DataBinder component</param>
 /// <param name="basecommandtext">Database command text used to deploy automated database record updates</param>
 /// <param name="viewcommandtext">Database command text used to provide customized data binded views specially if records are binded into a grid</param>
 public DataBinding(DataBinder binder, string basecommandtext, string viewcommandtext) : this(binder, basecommandtext, viewcommandtext, null)
 { }
 /// <summary>
 /// Creates a new instance of DataBinding.
 /// </summary>
 /// <param name="binder">Parent DataBinder component</param>
 /// <param name="sql">Database command text used to deploy automated database record updates</param>
 /// <param name="header">Header database binding information</param>
 public DataBinding(DataBinder binder, string sql, DataBinding header) : this(binder, sql, "", header)
 { }
 /// <summary>
 /// Creates a new instance of DataBinding.
 /// </summary>
 /// <param name="binder">Parent DataBinder component</param>
 /// <param name="sql">Database command text used to deploy automated database record updates</param>
 public DataBinding(DataBinder binder, string sql) : this(binder, sql, "", null)
 { }
 /// <summary>
 /// Creates a new instance of DataBinding.
 /// </summary>
 /// <param name="binder">Parent DataBinder component</param>
 /// <param name="header">Header database binding information</param>
 public DataBinding(DataBinder binder, DataBinding header) : this(binder, "", "",  null)
 { }
 /// <summary>
 /// Creates a new instance of BindedControlCollection.
 /// </summary>
 /// <param name="binder">Development.Materia.Database.DataBinder parent control.</param>
 public BindedControlCollection(DataBinder binder)
 { _binder = binder; }