I am tried to get count of a particular item from mysql table using c#.but i got nothing
My code
string Batch = textBox8.Text;
string batchnumber = ("SELECT COUNT [Batch_No] FROM Orders where Batch_No='" + Batch + "'");
orders is my table and batch_no is the column and i want to get the count of particular batch number in the table.How can i do this?