From: rossi <tes...@at...> - 2003-04-18 21:21:01
|
Hi, I am using FbNetProvider RC2 in the following piece of code: private void button2_Click(object sender, System.EventArgs e) { this.fbConnection1.Open(); this.fbSelect.Transaction = this.fbConnection1.BeginTransaction(); this.fbDataAdapter1.Fill(this.documentsDataset1, "documents"); this.fbSelect.Transaction.Commit(); this.fbConnection1.Close(); // (x) } After closing the connection at (x), it destroys my fbSelect command (when disposing it) and I am not able to use it next time (i.e. it clears the CommandText etc.). Am I doing something wrong? |