Utility Functions and C Language Reference > .NET Vuser Functions > Alphabetical List of Functions > DoDataRead

DoDataRead

Example: DoDataRead Alphabetical List of Functions

Reads records from a DataReader object.

void LrReplayUtils.DoDataRead( DbDataReader reader, DataTable valueTable, bool readToEnd, int numRecordsToRead );

VB.NET

Sub LrReplayUtils.DoDataRead( ByVal reader As DbDataReader, ByRef valueTable As DataTable, ByVal readToEnd As Boolean, ByVal numRecordsToRead As Integer)
reader The DataReader object to read records from. Input.
valueTable A DataTable, to be filled with the values read from the DataReader. Output.
readToEnd True to read all records available in the DataReader. False to read the number of records specified in numRecordsToRead.
Input
numRecordsToRead When readToEnd is false, read this number of records from the DataReader. Input.

DoDataRead reads records from a DataReader object and outputs a DataTable containing the data.

Note: Do not add this function manually to a script. It is generated by VuGen automatically.

Parameterization

Parameterization is not applicable to this function.