/// <summary> /// na zaklade DataSource vybere vhodny datareader z kolekce this.data_readers a ulozi ho do this.actual_datareader /// </summary> protected void setDataReader() { this.actual_datareader = this.data_readers.GetByType(this.dataSource); if (this.dataSource != null) { this.actual_datareader.DataSource = this.dataSource; this.rows.DataReader = this.actual_datareader; } }