約118件1ページ目

日本語のみで絞り込む

2010/6/4 -ExecuteScalar is typically used when your query returns a single value. · ExecuteReader is used for any result set with multiple rows/columns ( ...

2023/5/29 -1) ExecuteReader : Used for executing SELECT statements and retrieving a result set. · 2) ExecuteNonQuery : Used for executing INSERT, UPDATE, ...

2023/11/20 -ExecuteReader method is used to execute a SQL Command or storedprocedure returns a set of rows from the database. Example public class Sample { ...

2025/10/24 -Use ExecuteReader() if you're reading fields from a record. Use ParameterDirection.ReturnValue to capture the procedure's return code. The ...

2021/7/7 -ExecuteNonQuery: Use this operation to execute any arbitrary SQL statements in SQL Server if you do not want any result set to be returned.

2004/12/16 -In simple terms: - ExecuteNonQuery() executes a SqlCommand (or OleDbCommand) without returning results; - ExecuteReader() retrieves the results ...

2025/12/6 -ADO.NET Core Methods Demystified (Post 2 on ADO.NET) ADO.NET Power Methods: When to Use ExecuteNonQuery vs ExecuteReader vs ExecuteScalar

2013/9/5 -In this article I will explain the difference between ExecuteNonQuery, ExecuteScalar and ExecuteReader functions of the SqlCommand class in ADO.

2018/12/28 -Difference between executereader and executenonquery in c# ; It will work with Action Queries only (Create,Alter,Drop,Insert,Update,Delete).

2024/12/5 -The ExecuteNonQuery method is used to execute SQL commands that do not return any data. It is primarily used for operations that modify the ...