473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Sorry... Please Ignore!

Apologies... was meant to sent this to ASP Newsgroup

"Brian Basquille" <re**********@please.com> wrote in message
news:Oq**************@TK2MSFTNGP15.phx.gbl...
Hello all.

Just a quick question.

Can anyone see what's wrong with this ASP page? Am creating it in
WebMatrix and it's giving me the error: "System.Data.OleDb.OleDbException:
Syntax error in INSERT INTO statement."

It's to do the Insert SQL statement in the btnSubmit_Click() method.

It worked fine up until i added the text boxes for a password -
txtPassword and txtConfirmPassword. And now it's saying the syntax is
incorrect but i've studied SQL and i can't see what's wrong with it.

Anyone care to help me out to see what's wrong with it?

Nov 16 '05 #1
2 1275
Brian,

I was not ignoring it.

Have whatever the errror can be a look at this page.

http://msdn.microsoft.com/library/de...eterstopic.asp

This is the better way to add the parameters.

And the newsgroup for this is not aspnet however adonet.

Adonet
news://msnews.microsoft.com/microsof...amework.adonet

Web interface:
http://communities2.microsoft.com/co...amework.adonet

When you see this, than I hope this helps

Cor
Nov 16 '05 #2
Cheers for the reply, Cor.

I discovered the actual problem i was having was i was using a reserved word
in Access (password) in my SQL query.

I have corrected it now so it uses the Parameters.Add syntax.

Thank you for the advice.

Brian
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lars | last post by:
SENT THIS TO WRONG GROUP! PLEASE IGNORE! "Lars" <lars@andreasson.pp.se> skrev i meddelandet news:... > How do I setup perrmissions in my FTP to allow anonymous access > where you can only...
1
NAT
by: James C. Li | last post by:
If instant messaging uses IP and a Port to communicate, how do the applications work behind a NAT? Hi Matt, ALL tcp protocols ( HTTP, TCP, etc ) use IP and ports cause those are the basics...
4
by: Jon Westmore | last post by:
I'm using an ASP page to dynamically generate an XML document using a data source. I was thinking the concept would be similar to dynamically creating HTML but I'm running into an issue. Here is...
5
by: Ori :) | last post by:
Hey guys, I submitted a Q few days back about crystal reports chart, when I submitted my question I used the "notify me of replies". I guess there is a problem with that feature, because when I...
8
by: Vladimir S. Oka | last post by:
Please ignore... Thanks Vladimir
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
6
by: Frank | last post by:
Can someone please tell me when the ViewState is loaded? My understanding, based on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconControlExecutionLifecycle.asp...
118
by: 63q2o4i02 | last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely...
0
by: scoss04 | last post by:
sorry ignore this............
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.