Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mhm1984
Starting Member
1 Post |
Posted - 2009-01-14 : 10:22:02
|
hii wrote this function to update database and it works but i need to saving sql query for using in another unixdata base how can i find real query?public void UpdateChanges() { try { DataSet changes = dataSet.GetChanges(); DbCommandBuilder dbc; if (changes != null) { connection.Open(); int numrow = dataAdapter.Update(changes); connection.Close(); MessageBox.Show("Updated " + numrow + " rows , Success"); dataSet.AcceptChanges(); } } catch(Exception ex) { MessageBox.Show(ex.ToString()); } |
|
|
|
|