Click here to Skip to main content
15,920,633 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVb.net and Crystal Report Pin
Bj Molo15-Nov-18 1:38
Bj Molo15-Nov-18 1:38 
AnswerRe: Vb.net and Crystal Report Pin
Eddy Vluggen15-Nov-18 1:45
professionalEddy Vluggen15-Nov-18 1:45 
GeneralRe: Vb.net and Crystal Report Pin
Bj Molo15-Nov-18 1:52
Bj Molo15-Nov-18 1:52 
GeneralRe: Vb.net and Crystal Report Pin
Eddy Vluggen15-Nov-18 2:05
professionalEddy Vluggen15-Nov-18 2:05 
QuestionHow can we acheive using Datagridview in dotnet Pin
Member 476123413-Nov-18 19:28
Member 476123413-Nov-18 19:28 
AnswerRe: How can we acheive using Datagridview in dotnet Pin
Eddy Vluggen14-Nov-18 0:36
professionalEddy Vluggen14-Nov-18 0:36 
QuestionSorting rows as specific template Pin
User 1367511413-Nov-18 4:02
User 1367511413-Nov-18 4:02 
AnswerRe: Sorting rows as specific template Pin
Richard MacCutchan13-Nov-18 5:11
mveRichard MacCutchan13-Nov-18 5:11 
QuestionVB6 AND LIST SQLSERVER Pin
sal2112-Nov-18 20:53
sal2112-Nov-18 20:53 
AnswerRe: VB6 AND LIST SQLSERVER Pin
Eddy Vluggen14-Nov-18 0:32
professionalEddy Vluggen14-Nov-18 0:32 
QuestionProblem with Xml Path Pin
mo149211-Nov-18 13:48
mo149211-Nov-18 13:48 
QuestionRe: Problem with Xml Path Pin
Richard MacCutchan11-Nov-18 22:08
mveRichard MacCutchan11-Nov-18 22:08 
AnswerRe: Problem with Xml Path; Closed here Pin
mo149211-Nov-18 23:46
mo149211-Nov-18 23:46 
QuestionAutoincrement with strings Pin
allukasan7-Nov-18 22:08
allukasan7-Nov-18 22:08 
AnswerRe: Autoincrement with strings Pin
Richard MacCutchan7-Nov-18 22:22
mveRichard MacCutchan7-Nov-18 22:22 
AnswerRe: Autoincrement with strings Pin
Eddy Vluggen8-Nov-18 1:41
professionalEddy Vluggen8-Nov-18 1:41 
QuestionMidi Pin
lucadacomo5-Nov-18 0:32
lucadacomo5-Nov-18 0:32 
AnswerRe: Midi Pin
Dave Kreskowiak5-Nov-18 2:18
mveDave Kreskowiak5-Nov-18 2:18 
AnswerRe: Midi Pin
Richard MacCutchan5-Nov-18 2:39
mveRichard MacCutchan5-Nov-18 2:39 
QuestionData conversion error of the array. Pin
Member 136558671-Nov-18 2:06
Member 136558671-Nov-18 2:06 
AnswerRe: Data conversion error of the array. Pin
Richard MacCutchan1-Nov-18 2:27
mveRichard MacCutchan1-Nov-18 2:27 
GeneralRe: Data conversion error of the array. Pin
Member 136558671-Nov-18 8:25
Member 136558671-Nov-18 8:25 
GeneralRe: Data conversion error of the array. Pin
Richard MacCutchan1-Nov-18 8:51
mveRichard MacCutchan1-Nov-18 8:51 
QuestionMy code is showing syntax error in insert into statement can you please help me with a solution guys Pin
Member 1403944131-Oct-18 4:48
Member 1403944131-Oct-18 4:48 
AnswerRe: My code is showing syntax error in insert into statement can you please help me with a solution guys Pin
Richard Deeming31-Oct-18 5:05
mveRichard Deeming31-Oct-18 5:05 
You're missing commas between the parameter placeholders, and you've got an extra closing bracket at the end of the statement:
str = "Insert into Patient Details([National ID],[First Name],[Last Name],[Phone number],[Email],[Procedure],[Gender],[Address],[Date]) Values (?, ?, ?, ?, ?, ?, ?, ?, ?)"

There's also no need to CType the Text properties as String, since they're already Strings.
cmd.Parameters.Add(New OleDbParameter("National ID", TextBox1.Text))




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

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.