While you haven't specified the exact issue in your question, it seems that based on the subject context, you aim to execute calculations at the GridView level. To accomplish this, you can employ the CellValueChanged event handler. Below is a comprehensive article that you can refer:
How To: Do Calculations in GridView[
^]