Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friend

I have some problem when implementing programs.If i am inserted few records in the database or update data or delete so how can i understand this record update,insert or delete so please give me information as soon as possible.

Thanks in advanced !!
Posted
Comments
[no name] 22-Aug-13 9:18am    
The only thing that makes any sense out of your posting is "How to get the number of rows...", the number of row affected is returned by your call to ExecuteNonQuery.
RedDk 22-Aug-13 13:15pm    
What is a "call to ExecuteNonQuery"? I don't see this in the above question?

 
Share this answer
 
Comments
Member 8089110 23-Aug-13 1:21am    
Thanks for giving me important information but if i am updated multiple data in the table how to understand this rows are affected or not ?
"ExecuteNonQuery()" method returns integer value that holds number of records affected...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900