Hi, I am having Datagridview, the Data's are retrieved from SQL using Query, but i need to add to the total at the end for each columns, stuck in it from long days pls help.
Attached a sample.
Thanks,
Jaype
Printable View
Hi, I am having Datagridview, the Data's are retrieved from SQL using Query, but i need to add to the total at the end for each columns, stuck in it from long days pls help.
Attached a sample.
Thanks,
Jaype
Your attached image is not at all helpful. What do you mean by 'add to the total at the end of each column'? You can get the column totals using the SQL SUM() function.