| c# Programming Glossary: cmd.executereaderHow to force a SqlConnection to physically close, while using connection pooling? http://stackoverflow.com/questions/1145892/how-to-force-a-sqlconnection-to-physically-close-while-using-connection-pooling  conn.Open SqlCommand cmd conn.CreateCommand ... cmd.ExecuteReader CommandBehavior.CloseConnection ... First run 300 ms Second.. 
 How to execute a stored procedure within C# program http://stackoverflow.com/questions/1260952/how-to-execute-a-stored-procedure-within-c-sharp-program  conn  cmd.CommandType CommandType.StoredProcedure  rdr cmd.ExecuteReader  while rdr.Read   Console.WriteLine  Product 0 25 Price 1 6.. 
 Writing driver class generic for any database support http://stackoverflow.com/questions/13133804/writing-driver-class-generic-for-any-database-support  IDataRecord ExecuteReader IDbCommand cmd  using var r cmd.ExecuteReader CommandBehavior.CloseConnection while r.Read  yield return r.. 
 Gathering data from Access database http://stackoverflow.com/questions/2365463/gathering-data-from-access-database  sql conn conn.Open OleDbDataReader reader reader cmd.ExecuteReader while reader.Read  Console.Write reader.GetString 0 .ToString.. 
 How to force ADO.Net to use only the System.String DataType in the readers TableSchema http://stackoverflow.com/questions/2567673/how-to-force-ado-net-to-use-only-the-system-string-datatype-in-the-readers-table  SELECT from Sheet1 using OleDbDataReader reader cmd.ExecuteReader  using DataTable dataTable new DataTable TestTable   dataTable.Load.. 
 SQL Query slow in .NET application but instantaneous in SQL Server Management Studio http://stackoverflow.com/questions/2736638/sql-query-slow-in-net-application-but-instantaneous-in-sql-server-management-st  .Value TrustAccountLogDate And then... reader cmd.ExecuteReader if reader.Read double value double reader.GetValue 0 if System.Double.IsNaN.. 
 Fastest method for SQL Server inserts, updates, selects http://stackoverflow.com/questions/2862428/fastest-method-for-sql-server-inserts-updates-selects  sql cn  addParameters cmd.Parameters cn.Open using var rdr cmd.ExecuteReader  while rdr.Read  yield return rdr rdr.Close  And that lets me.. sql cn  addParameters cmd.Parameters cn.Open using var rdr cmd.ExecuteReader  while rdr.Read  yield return factory rdr rdr.Close  And now.. 
 Read data from SqlDataReader http://stackoverflow.com/questions/4018114/read-data-from-sqldatareader  the backend. I am working on asp.net C# SqlDataReader rdr cmd.ExecuteReader while rdr.Read  how do I read strings here  I know that the..   share improve this question   using SqlDataReader rdr cmd.ExecuteReader while rdr.Read  var myString rdr.GetString 0 The 0 stands for.. 
 C# calling SQL Server stored procedure with return value http://stackoverflow.com/questions/6210027/c-sharp-calling-sql-server-stored-procedure-with-return-value  param.Value SeqName SqlDataReader reader cmd.ExecuteReader I have also tried using a DataSet to retrieve the return value.. 
 Configuration System Failed to Initialize http://stackoverflow.com/questions/6436157/configuration-system-failed-to-initialize  password FROM receptionist connect OdbcDataReader reader cmd.ExecuteReader if username_login.Text username password_login.Text password.. 
 C# SQL Server - Passing a list to a stored procedure http://stackoverflow.com/questions/7097079/c-sharp-sql-server-passing-a-list-to-a-stored-procedure  SqlDbType.Int Execute the query SqlDataReader QueryReader cmd.ExecuteReader My stored proc is fairly standard but does a join with QueryTable.. p.TypeName dbo.StringList p.Value table using var dr cmd.ExecuteReader  while dr.Read  Console.WriteLine dr Item .ToString    share.. 
 ASP.NET: Right way to populate a Dropdown list from database http://stackoverflow.com/questions/7227510/asp-net-right-way-to-populate-a-dropdown-list-from-database  0 ddlSubjects.Items.Add newItem con.Open reader cmd.ExecuteReader while reader.Read  newItem new ListItem  newItem.Text reader.. 
 SQLDataReader dispose? http://stackoverflow.com/questions/744051/sqldatareader-dispose  SELECT FROM SomeTable connection SqlDataReader reader cmd.ExecuteReader connection.Open if reader null while reader.Read  do something.. FROM SomeTable connection using SqlDataReader reader cmd.ExecuteReader  if reader null  while reader.Read  do something  reader closed.. 
 Return DataReader from DataLayer in Using statement http://stackoverflow.com/questions/850065/return-datareader-from-datalayer-in-using-statement  @Filter SqlDbType.NVarChar 255 .Value filter result.Load cmd.ExecuteReader  return result I think we can do a little better. My main complaint.. 255 .Value filter cn.Open using IDataReader rdr cmd.ExecuteReader  while rdr.Read   yield return IDataRecord rdr   This will work.. 
 |