Answer the question
In order to leave comments, you need to log in
How to output query result to file via C#?
SqlCommand command = new SqlCommand("SELECT Id,Name,Price FROM [Products] WHERE [Id][email protected] ", sqlConnection);
while (await sqlReader.ReadAsync())
{
listBox3.Items.Add(Convert.ToString(sqlReader["id"]) + " " + Convert.ToString(sqlReader["Name"]) + " " + (1 + ((readSearch1 - f) * 1.2) / f)/*Convert.ToString( met(readSearch1))*/);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question