Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / DataSource Class
Fields Properties Methods


In This Topic
    DataSource Class Members
    In This Topic

    The following tables list the members exposed by DataSource.

    Public Fields
     NameDescription
    Public FieldDefines default IsolationLevel for transaction used to get report data.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the number of seconds to wait before the data connection times out (set to -1 to use the default value, usually 30s).  
    Public PropertyGets or sets the string used to open a database.  
    Public PropertyGets or sets the type of the data source. The data source type determines the syntaxes of connection string and query (record source). The default is Auto but it is recommended that you change that value to one of specific data source types, as automatic determination of the data source type may be very time consuming.  
    Public PropertyGets or sets the expression used to filter which data rows are included in the report.  
    Public PropertyGets or sets the isolation level for OleDBTransaction used to retrieve the report data.

    The default is IsolationLevel.ReadCommitted.

     
    Public PropertyGets or sets the maximum number of data rows to be included in the report (set to zero to include all rows).  
    Public PropertyGets the report that contains this DataSource.  
    Public PropertySets or gets the data source object that provides data to the report.  
    Public PropertyGets or sets a string that specifies which table, stored procedure, or Sql command to use for retrieving the report data.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns true if the cursor is pointing at the first record in the data source.  
    Public MethodReturns true if the cursor is pointing at the last record in the data source.  
    Public MethodReturns the current cursor position.  
    Public MethodGets the value of the given field, at the cursor position.  
    Public MethodProcesses the PARAMETERS clause in the RecordSource string and returns the result.  
    Public MethodMoves the cursor to the first record in the data source.  
    Public MethodMoves the cursor to the last record in the data source.  
    Public MethodMoves the cursor to the next record in the data source.  
    Public MethodMoves the cursor to the previous record in the data source.  
    Public MethodSets the current cursor position to supplied value.  
    Public MethodReturns a string representation of DataSource object.  
    Top
    See Also