Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: neteroxv [x]
SQL Select parameter by neteroxv
Answer 12 May 2013   license: CPOL
My mistake. I should have used."Select count(*) from [users] where [userid]=@uid and [password]=@pword"since I used Convert.ToInt32(cmd.ExecuteScalar())>= 1 which requires numeric result.1, 2 and 3 worked after I fixed my error in my select query.
SQL Select parameter by neteroxv
Question 12 May 2013   license: CPOL
Hi I'm new to vb.net.I'm having error input string is not in the correct format. I already used different codes for adding a parameter in sql select query.I would like to ask what is the best way of adding a parameter in a VB.net select query?Thanks in advance. Dim strsql As String...

Page 1 of 1


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid