DbCommand.ExecuteReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the command against its connection, returning a DbDataReader which can be used to access the results.
Overloads
ExecuteReader() |
Executes the command against its connection, returning a DbDataReader which can be used to access the results. |
ExecuteReader(CommandBehavior) |
Executes the command against its connection, returning a DbDataReader which can be used to access the results. |
ExecuteReader()
- Source:
- DbCommand.cs
- Source:
- DbCommand.cs
- Source:
- DbCommand.cs
Executes the command against its connection, returning a DbDataReader which can be used to access the results.
public:
System::Data::Common::DbDataReader ^ ExecuteReader();
public System.Data.Common.DbDataReader ExecuteReader ();
member this.ExecuteReader : unit -> System.Data.Common.DbDataReader
Public Function ExecuteReader () As DbDataReader
Returns
A DbDataReader object.
See also
Applies to
ExecuteReader(CommandBehavior)
- Source:
- DbCommand.cs
- Source:
- DbCommand.cs
- Source:
- DbCommand.cs
Executes the command against its connection, returning a DbDataReader which can be used to access the results.
public:
System::Data::Common::DbDataReader ^ ExecuteReader(System::Data::CommandBehavior behavior);
public System.Data.Common.DbDataReader ExecuteReader (System.Data.CommandBehavior behavior);
member this.ExecuteReader : System.Data.CommandBehavior -> System.Data.Common.DbDataReader
Public Function ExecuteReader (behavior As CommandBehavior) As DbDataReader
Parameters
- behavior
- CommandBehavior
An instance of CommandBehavior, specifying options for command execution and data retrieval.
Returns
An DbDataReader object.
See also
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za