I'm using VB.net (Visual Studio 2012, .NET version 4.5)
I have a Gridview, let's call it GridviewX, where I perform an update. After this particular update, I have configured the data source to a business object and then define the 'update' to a particular method in the business object called "UpdateScore" with the following signature UpdateScore(parameter 1, parameter 2, parameter 3, parameter 4)
GridviewX contains the scores, say, of a team, and GridviewY contains the standings of the league!
The problem where I'm stuck is where the GridviewX is updated... it updates fine and the page is refreshed, BUT, how do I refresh the other gridview, gridviewY, the one containing the league standings based on the scores?
Immediately after the score on GridviewX is updated, I save the session and have tried to call the method to which I have defined/assigned (the data source) GridviewY
GridviewY is ok in that it shows the information needed, BUT when GridviewX is updated, GridviewY is NOT updated. How can I achieve this?
I have tried GridviewY.databind(), but I receive an exception error (something along the lines of object not being referenced)... I don't know if GridviewY.databind() is the correct way to go!
Also, this may be irrelevant, but I'm not using SQL at all... I'm achieving all this by using classes/instantiation. Classes are the ones keeping the data, etc.
Thanks and any information on how to solve the GridviewY update/refresh issue will be greatly appreciated.
Regards,
TheAbominable one! :-)