A
Andrei Varanovich
Hello all!
I have a button on a form alongside a GridView with ObjectDataSource,
and the effect of the button need to be the modifying the underlying
database (it changes some cells' values in the objects being displayed
by the GridView).
How can I rebind the data in code? For now I see that simple call like
GridView1.DataBind() in button click event handler doesn't make any
effects on the page.
Thanks in advance!
Andrei
I have a button on a form alongside a GridView with ObjectDataSource,
and the effect of the button need to be the modifying the underlying
database (it changes some cells' values in the objects being displayed
by the GridView).
How can I rebind the data in code? For now I see that simple call like
GridView1.DataBind() in button click event handler doesn't make any
effects on the page.
Thanks in advance!
Andrei