Hi Steven, I managed to fix that problem it occured because in your code you have named two text boxes the same.
I have now posted the current error which is related to the below query.
sql="insert into users(username,password) values('"&request("text1")&"','"&request("text2")&"')"
It gives me...
sql="insert into users (username,password) values('"&request("text1")&"','"&request("text2")&"')"
Hi there the query above is giving me the following syntax error,any ideas why?
Error Type:
Microsoft JET Database Engine (0x80040E14)
Syntax error in INSERT INTO statement.
/main/test/new.asp...
That piece of code doesn't seem to work.Im using an access database i altered the connection string to that of mine and i dont get any errors when the form submits however the data doesn't get put into the database?
Any ideas?
Heres an easy 1!I need a simple ASP form to insert values into a database. The form may consist of only two text boxes. Could anyone point me in the direction of where i may find this or provide me with some simple code to do this?
Ive done what you've just said and now the same error occurs on another line. The next line it refers to is 183 and contains the same objconn.execute(sql) which it doesn't seem to like?
Maybe it doesnt like that string?
Here is the code, I have shown what the error is referring to below
<%'prevent cacheing
Response.CacheControl = "no-store"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
<!-- #include file="inc/declareinc.asp"-->
<%
quantity=0
saved_quantity=0
Subtotal=0
'establish the...
Hi there, I am trying to run an asp page and i keep getting the following error;
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
line 23
could someone translate this to me in plain english?I dont...
Hi there this should be an easy one,i am new to ASP and am trying to design a shopping cart type website. Just wondering if anyone can provide me with some basic code that allows you to add/delete items to a page if not are there any good sites which can teach me how to design this?
Cheers
There is a whole bunch of DLL files and 3 folders v1.0.3705,v1.14322 and VJSharp.
Is there any script or exe that needs to be run inorder for ASP.net to work correctly??
Hi there this is an easy one!
I've recently installed IIS and have now installed Visual Studio.net.
The problem im having is when i start a new project and try to create an ASP.net Web Application i get the following error;
"Visual Studio.net has detected that the specified Web Server is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.