Hey folks... im trying to take a select count query and bind it to a label... here's the query:
SELECT COUNT(ID) AS total
FROM DailySales
WHERE (saledate = @saledate)
Now... how do i tell the label to return the value of total? I can only databind to an acctual column in the properties, but not to a count result column...
Any ideas?
Thanks in advance!
SELECT COUNT(ID) AS total
FROM DailySales
WHERE (saledate = @saledate)
Now... how do i tell the label to return the value of total? I can only databind to an acctual column in the properties, but not to a count result column...
Any ideas?
Thanks in advance!