1
Answer

Query Execution Error C# Dataset

Sumar Khan

Sumar Khan

9y
410
1

I have an Access Database 2007 I am creating reports in Report Viewer in C# Using Two dateTimePickers.While Writing query to fill or filter the Table.When I Write Query SELECT Edate, Description, Amount FROM Expenses WHERE Edate BETWEEN FromDate AND ToDate) Generate error Like This..

Please Suggest The Soution With Approperiate Qeury or Method To Overcome this Problem

My Access DB table is Expenses(Edate,Description,Amount)

Please Reply For this And Thanks in Advance

Answers (1)
0
Manas Mohapatra
NA 29.3k 3.3m 8y
You are reading lines from text files. And looping over the string array.
So what is the point of creating DataTable object inside loop to write data in console.