Quote Originally Posted by marniel647 View Post
what is the use of this code
command.Parameters
.AddWithValue
CInt(command.ExecuteScalar()) = 0

thanks
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.