Click here to Skip to main content
15,921,840 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 4:56
albCode6-Apr-06 4:56 
Import System.Data.OleDb
.
.
.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Dim dbconn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;data source = C:\Inetpub\wwwroot\IED416\ied416lp3_19\db\handel.mdb")
Dim dbinsert As OleDbCommand;
dbconn.Open()
dbinsert.Connection = dbconn
dbinsert.CommandText = "INSERT INTO Kunder (Namn,Ort) VALUES ('Christian','Sweden')"
dbinsert.ExecuteNonQuery()
MsgBox("Weee")
dbconn.Close()

End Sub

Question:
'Your table Kunder does have only two columns (Name and Ort)?
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 
QuestionIs there a way to call sql script from inside of another sql in SQLServer Pin
Nguyen Thi Thanh5-Apr-06 22:25
Nguyen Thi Thanh5-Apr-06 22:25 

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.