I need to show the amount value seperated by ,
For example, my textbox vaue is 614000 and I would like to show in in a textbox like 6,14,000
I wrote the following code
double result = 0;
foreach (DataGridViewRow row in dataGridView1_newww.Rows)
{
result += Convert.ToDouble(row.Cells["Total_Cost"].Value);
}
textBox1.Text = result.ToString();
but i will not separate directly shows join value = 614000