Calculate From DataGridView

I have a DataGridView like this:

How is the code to calculate data from Column Total and show it in a Label? It means the Label will show 2650


int total= 0;
for (int i = 0; i < dataGridView.Rows.Count; ++i)
    sum += Convert.ToInt32(dataGridView.Rows[i].Cells[x].Value); //x=column index 
label.text = sum.ToString();

Need Your Help

Python: Beautifulsoup returns wrong decode for tis-620, charset windows-874

python utf-8 beautifulsoup decode encode

I am trying to read Thai website with code tis-620 and convert the result to utf-8, so i could upload to any database.