T ThunderMusic Feb 2, 2006 #2 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()
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()
G Guest Feb 2, 2006 #3 Ashe, the Quickstarts are your friend: http://samples.gotdotnet.com/quickstart/aspplus/doc/webdataaccess.aspx They also install on your local machine, if you choose that option. Peter
Ashe, the Quickstarts are your friend: http://samples.gotdotnet.com/quickstart/aspplus/doc/webdataaccess.aspx They also install on your local machine, if you choose that option. Peter