Click here to Skip to main content
15,892,768 members
Home / Discussions / Database
   

Database

 
Questioninserting image Pin
harithadotnet24-Sep-07 23:06
harithadotnet24-Sep-07 23:06 
AnswerRe: inserting image Pin
Pete O'Hanlon25-Sep-07 2:18
mvePete O'Hanlon25-Sep-07 2:18 
QuestionFinding Related Tables Pin
arnoldpinto8424-Sep-07 21:08
arnoldpinto8424-Sep-07 21:08 
AnswerRe: Finding Related Tables Pin
joemonvarghese25-Sep-07 21:01
joemonvarghese25-Sep-07 21:01 
AnswerRe: regarding joins Pin
pmarfleet24-Sep-07 21:32
pmarfleet24-Sep-07 21:32 
General[Message Deleted] Pin
gubba24-Sep-07 21:40
gubba24-Sep-07 21:40 
GeneralRe: regarding joins Pin
pmarfleet24-Sep-07 21:49
pmarfleet24-Sep-07 21:49 
QuestionINSERT INTO sql Pin
phowarso24-Sep-07 19:21
phowarso24-Sep-07 19:21 
i wanna add a new record into a access file by using sql "INSERT INTO". i wrote the following code in my project but i have an error message "Syntex error in INSERT INTO statement." Please tell me the correct syntex of INSERT INTO statement.My code is
Private Sub pbLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pbLogin.Click
Try
xConn = New sqlConn
xConn.connectMe("INSERT INTO tblSave (UserName, Password) VALUES ('" & txtUser.Text & "'," & txtPassword.Text & "');")

Try
xConn.OLEComm.Connection = xConn.OLEConn
xConn.OLEComm.ExecuteNonQuery()
xConn.OLEConn.Close()
MsgBox("Record Added")

Catch err As System.Exception
MsgBox(err.Message)
End Try

Try
xConn.OLEConn.Close()
Catch err As System.Exception
MsgBox(err.Message)
End Try
Catch err As System.Exception
MsgBox(err.Message)
End Try
End Sub
Confused | :confused: Confused | :confused: Confused | :confused:
AnswerRe: INSERT INTO sql Pin
pmarfleet24-Sep-07 19:41
pmarfleet24-Sep-07 19:41 
GeneralRe: INSERT INTO sql Pin
phowarso25-Sep-07 0:32
phowarso25-Sep-07 0:32 
GeneralRe: INSERT INTO sql Pin
pmarfleet25-Sep-07 0:52
pmarfleet25-Sep-07 0:52 
AnswerRe: INSERT INTO sql Pin
Pete O'Hanlon25-Sep-07 2:21
mvePete O'Hanlon25-Sep-07 2:21 
Question[Message Deleted] Pin
Hari Om Prakash Sharma24-Sep-07 18:59
Hari Om Prakash Sharma24-Sep-07 18:59 
AnswerRe: from_unixtime() function Pin
pmarfleet24-Sep-07 19:47
pmarfleet24-Sep-07 19:47 
AnswerRe: from_unixtime() function Pin
Pete O'Hanlon25-Sep-07 2:36
mvePete O'Hanlon25-Sep-07 2:36 
QuestionTransfering data problem Pin
Pamela198424-Sep-07 11:06
Pamela198424-Sep-07 11:06 
AnswerRe: Transfering data problem Pin
Paul Conrad3-Nov-07 7:49
professionalPaul Conrad3-Nov-07 7:49 
QuestionBackup SQL Server Pin
Bonsta24-Sep-07 7:01
Bonsta24-Sep-07 7:01 
AnswerRe: Backup SQL Server Pin
Paul Conrad3-Nov-07 7:48
professionalPaul Conrad3-Nov-07 7:48 
QuestionProblem with certificate Pin
DerekFL24-Sep-07 5:27
DerekFL24-Sep-07 5:27 
Questionhelp me with outstanding rental payments Pin
twsted f824-Sep-07 5:17
twsted f824-Sep-07 5:17 
AnswerRe: help me with outstanding rental payments Pin
pmarfleet24-Sep-07 9:45
pmarfleet24-Sep-07 9:45 
QuestionFind Exact match Pin
jebin k24-Sep-07 5:12
jebin k24-Sep-07 5:12 
AnswerRe: Find Exact match Pin
DerekFL24-Sep-07 7:50
DerekFL24-Sep-07 7:50 
QuestionSQL type statements without a connection Pin
Evan St. John24-Sep-07 4:34
Evan St. John24-Sep-07 4:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.