PdfRpt.DataSources.GenericDataReaderDataSource.GenericDataReaderDataSource C# (CSharp) Method

GenericDataReaderDataSource() public method

Converts the selected records to an IEnumerable of the Pdf Cells Data
public GenericDataReaderDataSource ( string providerName, string connectionString, string sql ) : System
providerName string Invariant name of a provider. Supports the ADO.NET Factory classes to allow you the ability to dynamically load the provider at runtime
connectionString string the connection string
sql string SQL statement to select the required records
return System
        public GenericDataReaderDataSource(string providerName, string connectionString, string sql, params object[] parametersValues)
        {
            _providerName = providerName;
            _connectionString = connectionString;
            _sql = sql;
            _paramValues = parametersValues;
        }
GenericDataReaderDataSource