hi,
you can use DataTable.Compute to add an evaluating formula to a DataColumn. In order to add 'Sum' column you need to just add a column to the DataTable and ,then, use Compute method to define a formula for that column.
http://msdn.microsoft.com/en-us/library/system.data.datatable.compute.aspx[
^]
In order to add a textbox to your grid, you can define a TemplateField in your grid, put a textbox in it and then define an event handler to run a particular code for changing it.
I hope it helps,
Cheers