Forums - C# Corner

Forum guidelines
Maria

Maria

  • 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 (3)

Visual Studio Live - Redmond 2016

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!