Updating computed columns
I sql databas开发者_运维技巧e and it has a table which has got five columns and two of which computed columns, the table acts as a datasource for the datagridview control. The problem I am having is that when I add a new row in the datagridview by inserting the values in the first three columns and then when I move to a new row the computed columns are still blank unless I click the save button on the binding navigator.
I want to update the row and show the computed columns as soon as I end editing it.
Thanks
I'm not sure that can be done without a roundtrip to the server.
If the computations are easy enough, you might consider a little jQuery script that updates the columns on the client.
精彩评论