in

Drowning In Technical Debt

C# | ASP.NET | SharePoint | SQL | Architecture | SOA |
All Tags » .NET » C# » snippet (RSS)

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • .Net DataReader to ArrayList

    string sql = "some sql" ArrayList al = new ArrayList(); using (SqlConnection cn = new SqlConnection(cs)) using (SqlCommand cmd = new SqlCommand(sql, cn)) { cn.Open(); using (SqlDataReader dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)) while (dr.Read()) { object[] o = new object[dr...
    Posted to roy ashbrook (Weblog) by royashbrook on 12-13-2007
Page 1 of 1 (1 items)
Community Credit
Powered by Community Server (Commercial Edition), by Telligent Systems