Adding column data from database

Hello Everyone,

I have got a database, with the tour pricing and all of those stuffs. Now, I would like to add that “tour price”, column items and then store it in a variable for further calculation. Also, I just want to show the final result (after sum) in a text box. How could I achieve this? Respective coding guidelines will be highly appreciated. Thank you so much!