SqlConnection / SQLTransaction issue (.NET 2.0 BETA 2)
Has the way SqlConnection and SqlTransaction works changed for BETA 2? I can't find anything but the following code no longer works and throws a "Connection Closed" exception when conn.BeginTransaction executes, even thou conn.Open() seems to work.
Cheers
Simon
using (SqlConnection conn =new SqlConnection(dbConString)) { conn.Open(); using (SqlTransaction trans = conn.BeginTransaction()) { try { . . . trans.Commit(); } catch { trans.Rollback(); } } } |

