Click here to Skip to main content
15,562,816 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsort element of sting in alphabetically order Pin
Member 131073485-Apr-17 0:28
Member 131073485-Apr-17 0:28 
SuggestionRe: sort element of sting in alphabetically order Pin
Jochen Arndt5-Apr-17 1:12
professionalJochen Arndt5-Apr-17 1:12 
GeneralRe: sort element of sting in alphabetically order Pin
Member 131073485-Apr-17 1:46
Member 131073485-Apr-17 1:46 
GeneralRe: sort element of sting in alphabetically order Pin
Jochen Arndt5-Apr-17 1:54
professionalJochen Arndt5-Apr-17 1:54 
GeneralRe: sort element of sting in alphabetically order Pin
Member 131073485-Apr-17 1:59
Member 131073485-Apr-17 1:59 
QuestionHow to subtract in VB with Access DB Pin
Landon Asis30-Mar-17 7:31
Landon Asis30-Mar-17 7:31 
SuggestionRe: How to subtract in VB with Access DB Pin
Richard Deeming30-Mar-17 8:09
mveRichard Deeming30-Mar-17 8:09 
AnswerRe: How to subtract in VB with Access DB Pin
Michael_Davies30-Mar-17 9:49
Michael_Davies30-Mar-17 9:49 
First Richard Deeming is right, do not concatenate SQL strings form user input, wide open to injection attack, use parameterised queries.

That said your SQL will do what you ask, however it is a SELECT statement which will return rows of data to your program, take it that part of your sqlQuery string is missing as you also need a FROM and table name.

You execute it as NonQuery which will return nothing from a SELECT anyway, you need to look at UPDATE if you want to alter the values in table(s).
Questionreference required to assembly.. Pin
Member 1103130430-Mar-17 2:39
Member 1103130430-Mar-17 2:39 
AnswerRe: reference required to assembly.. Pin
Eddy Vluggen2-Apr-17 1:46
professionalEddy Vluggen2-Apr-17 1:46 
QuestionObject reference not set to an instance of an object. Pin
Member 1103130430-Mar-17 0:56
Member 1103130430-Mar-17 0:56 
AnswerRe: Object reference not set to an instance of an object. Pin
Ralf Meier30-Mar-17 1:07
mveRalf Meier30-Mar-17 1:07 
GeneralRe: Object reference not set to an instance of an object. Pin
Member 1103130430-Mar-17 1:28
Member 1103130430-Mar-17 1:28 
Questionmultithreads Pin
Member 1306030229-Mar-17 21:41
Member 1306030229-Mar-17 21:41 
AnswerRe: multithreads Pin
Chris Quinn29-Mar-17 22:29
Chris Quinn29-Mar-17 22:29 
GeneralRe: multithreads Pin
Member 1306030229-Mar-17 23:16
Member 1306030229-Mar-17 23:16 
GeneralRe: multithreads Pin
Chris Quinn29-Mar-17 23:18
Chris Quinn29-Mar-17 23:18 
GeneralRe: multithreads Pin
Member 1306030230-Mar-17 0:59
Member 1306030230-Mar-17 0:59 
Questionimporting excel file to sql server Pin
Member 1305213529-Mar-17 9:31
Member 1305213529-Mar-17 9:31 
AnswerRe: importing excel file to sql server Pin
Member 1303625129-Mar-17 10:50
Member 1303625129-Mar-17 10:50 
QuestionMacro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 4:07
Member 1308978628-Mar-17 4:07 
QuestionRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 4:38
mveCHill6028-Mar-17 4:38 
AnswerRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 4:41
Member 1308978628-Mar-17 4:41 
AnswerRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 4:58
mveCHill6028-Mar-17 4:58 
GeneralRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 11:53
Member 1308978628-Mar-17 11:53 

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.