using (SqlCommand cmd = new SqlCommand("SELECT Count(*) FROM [Test] Where [Invoice No]=@InvoiceNo and [Location] = @Store and [Status] in ('','Pending')", con))
Yes it is syntactically correct. If you have a problem when running this statement it would be easier to directly discuss the problem you have (which error message and on which line).
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM
Yes it is syntactically correct. If you have a problem when running this statement it would be easier to directly discuss the problem you have (which error message and on which line).
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM