I have problem to fill grid in c#
OleDbCommand cmd = new OleDbCommand("SELECT data.acno, data.BillNo AS, data.Name,
Sum([Price]*[qty]) AS ટોટલ FROM data INNER JOIN agro ON data.BillNo = agro.BillNo
GROUP BY data.acno, data.BillNo, data.Name, data.db, data.Date HAVING
(((data.db)='true') AND ((data.Date) = '" + coGuj(drpDate.Text) + "'))", con);
DataSet ds = new DataSet();
OleDbDataAdapter da = new OleDbDataAdapter(cmd);
da.Fill(ds);
viewgrid_credit.DataSource = ds.Tables[0];
This code write to fill grid but no arise any error not fill grid only display heading of grid but not return require output.
Query is 100% correct this query run in access successfully and also return result.