Thanks for the response.
I learned that keywords such as User and password can cause problems as far as access goes so including brackets ([userName],[password]) to the INSERT statement have solved the problem with inserting the info into the database.
Kind regards
arian
User Profile
Collapse
-
cannot insert data into access database
Could Morning
I have been trying very hard to perform a seemingly basic operation which is entering data from a website into an access database(C# code). I dit check the settings on the access database and it does allow for insering data into the table.
I have tried 3 different methods and all of them produce the same error...Syntax error in INSERT INTO statement.
I will now post the code for the three methods that I... -
how to change the linkButton text property from another page
Good evening
I have a linkbutton as part of the deffault.aspx page and i want to be able to change the text property of this button from a different page.
Basically what I am doing is when I login with the link button I am redirected to a page where I can add the user details and password into a text box which is checked agains a database and if the login is successfull I want to change the text from "login please"... -
using a webservice to input information into a database
hallo
I am a bit new with asP.net and I want to use a webservice to add information to a database. It is easy enough to establish a connection with the database using a Web Method but to add information seems tricky as I don't have access to the controls that are situated in the website to be able to add this info to the data base using a web service.
Does this make sense.
Can anyone please help.
kind regardsLast edited by jhardman; Apr 13 '11, 12:40 PM. Reason: Accidentally posted in the asp classic forum. Moved to asp.net -
I am having trouble entering textbox data into an access database
Good morning
i have been struggling to insert data into my access data base via textboxes on a webpage. The error is INSERT INTO syntax error but I am struggeling to pinpoint where the syntax error lies.
this is the code I used
...Code:string connString = @"Provider=Microsoft.Jet.OleDb.4.0; Data Source=" + Request.PhysicalApplicationPath + "App_Data\\UserInfo.mdb";
No activity results to display
Show More
Leave a comment: