Overload resolution failed because no accessible 'item' can be called with these arguments:
'Public readonly default property Item(index as integer) As String': Value of type System.Web.UI.WebControls.TextBox' cannot be converted to Integer'.
'Public Default Propert Item(name As String) As String': Value of type'Sestem.Web.UI.WebControls.TextBox' cannot be converted o 'String'.
I'm not sure if I'm supposed to have a response.write wrapped around all the Request.form's but even when I added those in it gave me this error. Does anyone see the problem?
Dim sql As String = "INSERT INTO users(username,fname,lname,password,address,city,state,zip,country,phone,fax,email,camera,website) values('" & Request.Form(firmName) & "', '" & Request.Form(fName) & "', '" & Request.Form(lName) & "', '" & Request.Form(password) & "', '" & Request.Form(address) & "', '" & Request.Form(city) & "', '" & Request.Form(state) & "', '" & Request.Form(zip) & "', '" & Request.Form(country) & "', '" & Request.Form(phone) & "', '" & Request.Form(fax) & "', '" & Request.Form(email) & "', '" & Request.Form(camera) & "', '" & Request.Form(website) & "');"

New Topic/Question
Reply
MultiQuote








|