In Focus

Forums - C# Corner

Forum guidelines


  • 0
  • 64
  • 0

execute a select count sql in c#

Dec 8 2008 7:39 PM

I am trying to execute a simple sql select statement using C# and I want to return the number of rows.  What is the correct syntax.

SELECT Count(*) FROM InvData


Answers (5)


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now