1. ExecuteUpdate returns int - for update, insert and delete operations
where the result is expected to be int ( Number of rows affected )
2. ExecuteQuery returns resultset - useful for query statements (eg. select * from table)
where result type is resultset (data from the table)
3. execute returns boolean - when you do not know what function to use for your
query or for unknown dynamic sql use this function.
It returns true if result is a resultSet and false if answer is an updateCount
or no results founds
Hope this helps!!!