Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.
Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.
Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.
// Gets or sets a value indicating the number of rows to analyze for// encoding, separator and field count in a CSV. When set, this option// causes the IExcelDataReader.RowCount property to throw an exception.// Default: 0 - analyzes the entire file (CSV only, has no effect on ...
以下示例循环访问一个 DataReader 对象,并从每个行中返回两个列。 C#复制 staticvoidHasRows(SqlConnection connection){using(connection) { SqlCommand command =new("SELECT CategoryID, CategoryName FROM Categories;", connection); connection.Open(); SqlDataReader reader = command.ExecuteReader();if...
Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.
DTS_E_ERRORWHILEREADINGDATAROWS DTS_E_ERRORWHILEREADINGHEADERROWS DTS_E_ERRORWHILESKIPPINGDATAROWS DTS_E_EVENTHANDLERNAMEREADONLY DTS_E_EVENTHANDLERNOTALLOWED DTS_E_EXCLGRPNOSYNCINP DTS_E_EXEC2000PKGTASK_CLS_NOT_REGISTRED_EXCEPTION DTS_E_EXEC2000PKGTASK_CONVERT_FAILED DTS_E_EXEC2000PKG...
HasRows Gets a value that indicates whether the DataTableReader contains one or more rows. IsClosed Gets a value that indicates whether the DataTableReader is closed. Item[Int32] Gets the value of the specified column in its native format given the column ordinal. Item[String] Gets th...
HasRows Gets a value that indicates whether the DataTableReader contains one or more rows. IsClosed Gets a value that indicates whether the DataTableReader is closed. Item[Int32] Gets the value of the specified column in its native format given the column ordinal. Item[String] Gets th...
Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.