SqlDataAdapter = new SqlDataAdapter(@"SELECT detail.branch,
SUM(CONVERT(DECIMAL(8, 2), detail.total)) AS TOTAL,
SUM(CONVERT(DECIMAL(8, 2), detail.typeA)) AS SALES
FROM detail
I need to extract and store the value of TOTAL so I can use it in another
Sql Statement. Is this possible ?