Quote Originally Posted by jmcilhinney View Post
Follow the Blog link in my signature and check out my post on ADO.NET parameters.

For the last line, follow the CodeBank link in my signature and check out my thread on Retrieving & Saving Data.
thanks ok i got what is the use of execute.scalar it returns the value of the first column of the firstrow..
so the execute.scalar need to have a CInt to run...?