Partilhar via


SqlCeCommand.ExecuteReader Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Sends the CommandText to the Connection and builds a SqlCeDataReader.

Overload List

Sends the CommandText to the Connection and builds a SqlCeDataReader.

Supported only by the .NET Compact Framework.

[Visual Basic] Overloads Public Function ExecuteReader() As SqlCeDataReader

[C#] public SqlCeDataReader ExecuteReader();

[C++] public: SqlCeDataReader* ExecuteReader();

[JScript] public function ExecuteReader() : SqlCeDataReader;

Sends the CommandText to the Connection and builds a SqlCeDataReader by using one of the CommandBehavior values.

Supported only by the .NET Compact Framework.

[Visual Basic] Overloads Public Function ExecuteReader(CommandBehavior) As SqlCeDataReader

[C#] public SqlCeDataReader ExecuteReader(CommandBehavior);

[C++] public: SqlCeDataReader* ExecuteReader(CommandBehavior);

[JScript] public function ExecuteReader(CommandBehavior) : SqlCeDataReader;

See Also

SqlCeCommand Class | SqlCeCommand Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.