Click here to Skip to main content
15,921,989 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEAN13 ? Pin
Polymorpher12-Feb-07 5:45
Polymorpher12-Feb-07 5:45 
AnswerRe: EAN13 ? Pin
andyharman12-Feb-07 6:14
professionalandyharman12-Feb-07 6:14 
GeneralRe: EAN13 ? Pin
Polymorpher12-Feb-07 6:49
Polymorpher12-Feb-07 6:49 
QuestionError Message [modified] Pin
jds120712-Feb-07 5:03
jds120712-Feb-07 5:03 
AnswerRe: Error Message Pin
Johan Hakkesteegt12-Feb-07 20:50
Johan Hakkesteegt12-Feb-07 20:50 
Questioncmd non execute error Pin
muraguri12-Feb-07 4:17
muraguri12-Feb-07 4:17 
AnswerRe: cmd non execute error Pin
Colin Angus Mackay12-Feb-07 5:14
Colin Angus Mackay12-Feb-07 5:14 
GeneralRe: cmd non execute error Pin
muraguri13-Feb-07 0:23
muraguri13-Feb-07 0:23 
The code is as follows:

cmdSave.Enabled = True
strsql = "INSERT INTO Worksheet(WorksheetNo,DriverName,CustomerName,VehicleRegistration,PickUpPoint,Destination,StartTime,EndTime,Transaction,Smileage,Emileage,Distance,Rate,TotalCharge,VoucherNo,Condition,Cleared)" & _
"VALUES ('" & txtJDNo.Text & "','" & cboDriver.Text & "','" & cboCustomer.Text & "','" & cboVehicle.Text & "','" & txtPick.Text & "','" & txtDestination.Text & "','" & txtStart.Text & "','" & txtEnd.Text & "','" & cboTransaction.Text & "','" & txtDistance.Text & "','" & txtRate.Text & "','" & txtCharge.Text & "','" & txtVNo.Text & "','" & txtCondition.Text & "')"
oledbcon.Open()
Dim cmd As New OleDbCommand(strsql, oledbcon)
cmd.ExecuteNonQuery()
oledbcon.Close()

The error i get is 'An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll'

Muraguri
GeneralRe: cmd non execute error Pin
Colin Angus Mackay13-Feb-07 12:45
Colin Angus Mackay13-Feb-07 12:45 
Questionresolution setup Pin
ram krishna pattnayak12-Feb-07 4:13
ram krishna pattnayak12-Feb-07 4:13 
AnswerRe: resolution setup Pin
Christian Graus12-Feb-07 10:30
protectorChristian Graus12-Feb-07 10:30 
GeneralRe: resolution setup Pin
ram krishna pattnayak13-Feb-07 1:05
ram krishna pattnayak13-Feb-07 1:05 
QuestionAutomation error Pin
shivapriyak12-Feb-07 4:06
shivapriyak12-Feb-07 4:06 
QuestionGDI: smoother Pen/Line? -Or:- smoother antialiasing? Pin
dartrax12-Feb-07 3:21
dartrax12-Feb-07 3:21 
QuestionNo idea? :~ Pin
dartrax15-Feb-07 0:40
dartrax15-Feb-07 0:40 
QuestionIDE Defined Connectionstring as against code defined advice pls! Pin
vbbeg12-Feb-07 2:59
vbbeg12-Feb-07 2:59 
QuestionHide IP-Address like "Hide my IP" and so on! Pin
jonnyT198412-Feb-07 2:46
jonnyT198412-Feb-07 2:46 
AnswerRe: Hide IP-Address like "Hide my IP" and so on! Pin
Christian Graus12-Feb-07 11:57
protectorChristian Graus12-Feb-07 11:57 
GeneralRe: Hide IP-Address like "Hide my IP" and so on! Pin
jonnyT198412-Feb-07 12:05
jonnyT198412-Feb-07 12:05 
Questionvertical scroll bar Pin
jady8412-Feb-07 1:59
jady8412-Feb-07 1:59 
Questiondatagridview doesn't get data Pin
cstrader23212-Feb-07 1:49
cstrader23212-Feb-07 1:49 
AnswerRe: datagridview doesn't get data Pin
cstrader23212-Feb-07 1:51
cstrader23212-Feb-07 1:51 
QuestionAdd functionality of Binding to ToolStripProgressBar Pin
nicolas_s112-Feb-07 1:26
nicolas_s112-Feb-07 1:26 
Answer[Resolved] Re: Add functionality of Binding to ToolStripProgressBar Pin
nicolas_s112-Feb-07 3:11
nicolas_s112-Feb-07 3:11 
Questionany one know about how to implement layer in vb dot net Pin
Adil_Bangush12-Feb-07 1:18
Adil_Bangush12-Feb-07 1:18 

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.