Hi All.

I can open the connection and SEE the data but if Edit them cannot
save changes in the underlying database.

I have read the forum, but no answer ...

Here is the code I use in UpdateCommand of a Grid.

It fires After i push the Update button of the grid.

private void Grid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
       {
           fbConnection1.Open();
           fbDataset1.AcceptChanges();
FirebirdSql.Data.Firebird.FbTransaction Tran = Connessione.BeginTransaction();
           FbDataAdapter1.Update( fbDataset1 );
           Tran.Commit();
           fbConnection1.Close();
// *************************************
           Grid1.EditItemIndex = -1;
           fbDataAdapter.Fill( fbDataset1 );
           Grid.DataBind();
       }


TIA

Arn


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to