开发者

Updating computed columns

开发者 https://www.devze.com 2023-03-07 03:10 出处:网络
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 t

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消