Execute nonquery effects only for DML like Update delete and insert statements only,
for select statement we have to choose ExecuteScalar or ExecuteReader methods. these methods can return datareader and gives the result for your query.
hbb
| Wed, 18 Nov 2009 08:10:00 GMT |