Click here to Skip to main content
15,905,004 members
Home / Discussions / Database
   

Database

 
QuestionSmall sql backup problem... [modified] Pin
Stanciu Vlad28-May-06 3:00
Stanciu Vlad28-May-06 3:00 
AnswerRe: Small sql backup problem... [modified] Pin
Colin Angus Mackay28-May-06 4:04
Colin Angus Mackay28-May-06 4:04 
QuestionRe: Small sql backup problem... [modified] Pin
Stanciu Vlad28-May-06 4:11
Stanciu Vlad28-May-06 4:11 
AnswerRe: Small sql backup problem... [modified] Pin
Colin Angus Mackay28-May-06 4:15
Colin Angus Mackay28-May-06 4:15 
NewsRe: Small sql backup problem... [modified] Pin
Stanciu Vlad29-May-06 1:29
Stanciu Vlad29-May-06 1:29 
GeneralRe: Small sql backup problem... [modified] Pin
Colin Angus Mackay29-May-06 4:37
Colin Angus Mackay29-May-06 4:37 
QuestionEnterprise Library - Data Access layer Pin
devvvy27-May-06 22:36
devvvy27-May-06 22:36 
QuestionInserting a New Record in MSAccess Pin
ADY00727-May-06 12:02
ADY00727-May-06 12:02 
Right Now I have this code:

Private Sub add()
Dim firstvalue As String = txtName.Text
Dim secondvalue As String = txtSurname.Text

Dim conn As OleDbConnection = New OleDbConnection(strConnection)
Dim cmd As OleDbCommand = New OleDbCommand
cmd.Connection = conn
cmd.CommandText = "INSERT Into tblMembers(Name, Surname) VALUES (?,?)"
cmd.Parameters.Add("Name", firstvalue)
cmd.Parameters.Add("Surname", secondvalue)
conn.Open()
cmd.ExecuteNonQuery()
conn.Close()
End Sub

But an error is occuring telling me this:

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

What do you thing this is?? Help me please!!


Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
Questiongrouped Pin
Amarni27-May-06 1:50
Amarni27-May-06 1:50 
AnswerRe: grouped Pin
Colin Angus Mackay27-May-06 2:22
Colin Angus Mackay27-May-06 2:22 
Questionneed help in ADO VC++ Pin
GANsJob26-May-06 18:56
GANsJob26-May-06 18:56 
QuestionSQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:12
Jawz-X26-May-06 10:12 
GeneralRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:18
Jawz-X26-May-06 10:18 
AnswerRe: SQL Server Cursor - Quick Question Pin
Eric Dahlvang26-May-06 11:12
Eric Dahlvang26-May-06 11:12 
QuestionRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 11:53
Jawz-X26-May-06 11:53 
AnswerRe: SQL Server Cursor - Quick Question Pin
Colin Angus Mackay26-May-06 21:20
Colin Angus Mackay26-May-06 21:20 
Questionproblem with sql server Pin
lucky123456026-May-06 9:12
lucky123456026-May-06 9:12 
AnswerRe: problem with sql server Pin
Colin Angus Mackay26-May-06 11:31
Colin Angus Mackay26-May-06 11:31 
QuestionSQL - SELECT Question Pin
ensger26-May-06 7:23
ensger26-May-06 7:23 
AnswerRe: SQL - SELECT Question Pin
Kschuler26-May-06 9:30
Kschuler26-May-06 9:30 
GeneralRe: SQL - SELECT Question Pin
ensger26-May-06 18:02
ensger26-May-06 18:02 
GeneralFound it - thanks Pin
ensger27-May-06 1:01
ensger27-May-06 1:01 
QuestionGet XML node as 'text' data type Pin
Jim Conigliaro25-May-06 8:53
Jim Conigliaro25-May-06 8:53 
AnswerRe: Get XML node as 'text' data type Pin
Arjan Einbu25-May-06 12:49
Arjan Einbu25-May-06 12:49 
QuestionBest Practices for including a SQL DB as part of your apps Pin
gantww25-May-06 8:24
gantww25-May-06 8:24 

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.