kastion

kastion

  • NA
  • 9
  • 0

SqlCommand Record Count

May 29 2008 10:23 AM

SqlCommand Command = this.CreateCommand(String.Format("SELECT {0} FROM {1} WITH (NOLOCK) ORDER BY ID", String.Join(",", this.m_Campaign.Fields.ToArray()), _Tablename));


How can I go about getting the record count of this query? I need to know how many records it's retrieving.

Answers (1)