public static databases.baseDS.transactionsRow UpdateData(databases.baseDS.transactionsRow row) { try { lock (myClient) { databases.baseDS.transactionsDataTable tbl = new databases.baseDS.transactionsDataTable(); tbl.ImportRow(row); myClient.UpdateTransactions(ref tbl); row.AcceptChanges(); return tbl[0]; } } catch (Exception er) { if (OnError != null) OnError(er); } return null; }