Row Count « Database ADO.net « C# / C Sharp






1.use ExecuteScalar() to run a SELECT statement that returns a single value
2.Get row count from SqlCommand