dim dbconn as new System.Data.SqlClient.SqlConnection(ConnString)
dim dbCommand as new System.Data.SqlClient.SqlCommand(dbconn)
.... put your query code here
' *** here is the important line ***
TheOneValue = dbCommand.ExecuteScalar()
" Ashe Sjedic" <to*******@doughpddu.com> wrote in message
news:7r********************@comcast.com...
Hi how do i do that in code please
thanks