Click here to Skip to main content
16,007,885 members
Home / Discussions / Database
   

Database

 
GeneralRe: Global exception thrown on execute of stored procedure with parameters Pin
Cannibal10-Apr-06 10:01
Cannibal10-Apr-06 10:01 
QuestionDataKeyField,God bless it... Pin
amin_behzadi6-Apr-06 5:56
professionalamin_behzadi6-Apr-06 5:56 
AnswerRe: DataKeyField,God bless it... Pin
junglerover776-Apr-06 16:51
junglerover776-Apr-06 16:51 
AnswerRe: DataKeyField,God bless it... Pin
munklefish9-Apr-06 7:04
munklefish9-Apr-06 7:04 
Questionload + save ADO.NET Methodology (no code) Pin
il_manti6-Apr-06 5:45
il_manti6-Apr-06 5:45 
AnswerRe: load + save ADO.NET Methodology (no code) Pin
Colin Angus Mackay6-Apr-06 20:54
Colin Angus Mackay6-Apr-06 20:54 
GeneralRe: load + save ADO.NET Methodology (no code) Pin
il_manti7-Apr-06 0:57
il_manti7-Apr-06 0:57 
QuestionINSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 3:53
ChrRun6-Apr-06 3:53 
Cant get this code to work!? I need to write stuf to my database (access), but it wont work.

The errormessage I get says:
"
Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

What do they mean with an updateble query???


////// C O D E \\\\\\\\

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Dim dbconn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data source = C:\Inetpub\wwwroot\IED416\ied416lp3_19\db\handel.mdb")
Dim dbinsert As OleDb.OleDbCommand

dbconn.Open()

dbinsert = dbconn.CreateCommand
dbinsert.CommandText = "INSERT INTO Kunder (Namn,Ort) VALUES ('Christian','Sweden')"
dbinsert.Connection = dbconn

dbinsert.ExecuteNonQuery()

MsgBox("Weee")

dbconn.Close()

End Sub

////// C O D E \\\\\\\\

AnswerRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 4:56
albCode6-Apr-06 4:56 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 5:16
ChrRun6-Apr-06 5:16 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 5:31
albCode6-Apr-06 5:31 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 9:34
ChrRun6-Apr-06 9:34 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 20:54
albCode6-Apr-06 20:54 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 22:48
ChrRun6-Apr-06 22:48 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:06
albCode6-Apr-06 23:06 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:31
ChrRun6-Apr-06 23:31 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:37
albCode6-Apr-06 23:37 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:39
ChrRun6-Apr-06 23:39 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:42
albCode6-Apr-06 23:42 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:53
ChrRun6-Apr-06 23:53 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode7-Apr-06 0:04
albCode7-Apr-06 0:04 
GeneralRe: INSERT INTO....!?!?!?! Pin
Colin Angus Mackay7-Apr-06 0:20
Colin Angus Mackay7-Apr-06 0:20 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode7-Apr-06 0:24
albCode7-Apr-06 0:24 
QuestionCREATE ASSEMBLY problem in SQL 2005 Pin
Paul Watson6-Apr-06 1:37
sitebuilderPaul Watson6-Apr-06 1:37 
QuestionSQLite ~ Access Pin
aukh5-Apr-06 23:05
aukh5-Apr-06 23:05 

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.