What version are you on? We had the same problem on a Win2k3 server with the VM Pro service stopping unexpectedly. We upgraded to the latest patch (2.1.14) and all is OK now.
richfield,
My guess would be that you need to specify the table in the datasource definition like so:
Datagrid2.Datasource = dst.Tables("tblSales")
I don't think a grid can bind to a dataset, I think it needs to bind to a table contained in the dataset.
Cesar
Actually, I had the DataSet dimmed as Friend, so if it were possible to reference it, I should have been able to do so. Maybe Friend is not friendly enough?
You are correct Jennifer, at this point in the code the DataSet is somewhere near Jupiter and it cannot be referenced.
The solution is to place hidden columns in the DataGrid which are bound to the key information needed to build the SQL statement for managing the required record(s). Then...
Hello,
I have a DataGrid bound to a DataSet, with one column being a ButtonColumn. When the user clicks on the button, the code goes to the ItemCommand event handler where I try to use the index position of the button on the grid to access data from the DataSet fields.
The code is the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.