All I get so far is this. string sql = "SELECT * FROM product where dat>='" + yy + "' and dat<'" + xx + "'and product_sold>0 and total >0"; SqlDataAdapter dscmd = new SqlDataAdapter(sql, con); DataSet5 ds = new DataSet5(); dscmd.Fill(ds, "product"); MessageBox.Show(ds.Tables["product"].Rows.Count.ToString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)