2
Answers

How to get Sum(value) between two dates using MySQL and CSharp?

Jose Palmieri

Jose Palmieri

2y
962
1

I'am using the SQL bellow, MySQL and C#

string str = "Select Sum(value) from <table> where <field = xxx> and date between (date1) and (date2)";
 

I need to get the result of this SQL on C#, how do I do that?

Answers (2)