paul_dimitrov
June 15th, 2005, 08:47 AM
The problem is, that after I execute this:
opsSqlDataAdapter.UpdateCommand.ExecuteScalar();
opsSqlDataAdapter.Fill(dataSet11, "OPS");
The changes are not visible in the DataGrid, it becomes visible omly, if I first clear the data set. The strangest thing is, that on the same dataSet I got tables whith which I don't have such a problem (I don't know if it's important, but they have master-detail connection). I don't want to lose the selected row in the datagrid, after the UpdateCommand. What can I do?
I use VisualStudio .NET 2003 and MS SQL Server 2000.
PS: The same problem I have when I delete a record - how can changes became visible without clear()-ing the DataSet?
opsSqlDataAdapter.UpdateCommand.ExecuteScalar();
opsSqlDataAdapter.Fill(dataSet11, "OPS");
The changes are not visible in the DataGrid, it becomes visible omly, if I first clear the data set. The strangest thing is, that on the same dataSet I got tables whith which I don't have such a problem (I don't know if it's important, but they have master-detail connection). I don't want to lose the selected row in the datagrid, after the UpdateCommand. What can I do?
I use VisualStudio .NET 2003 and MS SQL Server 2000.
PS: The same problem I have when I delete a record - how can changes became visible without clear()-ing the DataSet?