W
W.G.Ryan
Records Affectged doesn't show SELECT results. You could either use a
Count(*) in your query, or you could use dr = cmd.ExecuteReader() While
dr.Read()
i++;
It'd be cool if they had a feature to return rows affected in terms of
Select, but unless you use ADO.NET Disconnected (ie a DataAdapter, DataTable
etc) you can't do it.
Good Luck,
Bill
Count(*) in your query, or you could use dr = cmd.ExecuteReader() While
dr.Read()
i++;
It'd be cool if they had a feature to return rows affected in terms of
Select, but unless you use ADO.NET Disconnected (ie a DataAdapter, DataTable
etc) you can't do it.
Good Luck,
Bill