well.. u really should read about those in the MSDN, that can give u much more information that what I will :) but anyway.. it's as simple as this.
Excute Scaler: returns only one value.. such as count(), Max(), Min().. etc (first row, first column)
ExecuteNonQuerry: for Insert/update/delete etc.. commands and it returns an int which represents the number of rows effected.
EcxecuteReader: returns a set o rows (one at a time) which are read only and u can view them one at a time.
:) hope i can help :)
Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
|