H
hg
Hi!
A stored procedure results records via an SqlAdapter to a dataset. I defined
a dataview to that dataset for a datagrid. Some column in the grid are
hided. The grid and the columns are readonly. And I have a textbox binded to
the same dataview.
There is a method clear the dataset, then to connect the server, fill the
dataset and close the connection. I call this method in the form Load
eventhandler.
Running the app, I can see the records in the grid and the corresponding
field in the textbox and moving in the grid by clicking on rows or by
pressing keys is fine until I choose to refresh the dateset via the method
mentioned earlier. Then clicking or pressing keys doesn't affect to the
textbox value for a small undetermined time (20 - 50 clicks), then it works
fine. While it is not working the black triangle stands on that row header,
which was reached last time.
What can I do? I need the textbox value for other computing.
A stored procedure results records via an SqlAdapter to a dataset. I defined
a dataview to that dataset for a datagrid. Some column in the grid are
hided. The grid and the columns are readonly. And I have a textbox binded to
the same dataview.
There is a method clear the dataset, then to connect the server, fill the
dataset and close the connection. I call this method in the form Load
eventhandler.
Running the app, I can see the records in the grid and the corresponding
field in the textbox and moving in the grid by clicking on rows or by
pressing keys is fine until I choose to refresh the dateset via the method
mentioned earlier. Then clicking or pressing keys doesn't affect to the
textbox value for a small undetermined time (20 - 50 clicks), then it works
fine. While it is not working the black triangle stands on that row header,
which was reached last time.
What can I do? I need the textbox value for other computing.