Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsort element of sting in alphabetically order Pin
Member 131073484-Apr-17 23:28
Member 131073484-Apr-17 23:28 
SuggestionRe: sort element of sting in alphabetically order Pin
Jochen Arndt5-Apr-17 0:12
professionalJochen Arndt5-Apr-17 0:12 
GeneralRe: sort element of sting in alphabetically order Pin
Member 131073485-Apr-17 0:46
Member 131073485-Apr-17 0:46 
GeneralRe: sort element of sting in alphabetically order Pin
Jochen Arndt5-Apr-17 0:54
professionalJochen Arndt5-Apr-17 0:54 
GeneralRe: sort element of sting in alphabetically order Pin
Member 131073485-Apr-17 0:59
Member 131073485-Apr-17 0:59 
QuestionHow to subtract in VB with Access DB Pin
Landon Asis30-Mar-17 6:31
Landon Asis30-Mar-17 6:31 
SuggestionRe: How to subtract in VB with Access DB Pin
Richard Deeming30-Mar-17 7:09
mveRichard Deeming30-Mar-17 7:09 
AnswerRe: How to subtract in VB with Access DB Pin
Michael_Davies30-Mar-17 8:49
Michael_Davies30-Mar-17 8: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 1:39
Member 1103130430-Mar-17 1:39 
AnswerRe: reference required to assembly.. Pin
Eddy Vluggen2-Apr-17 0:46
professionalEddy Vluggen2-Apr-17 0:46 
QuestionObject reference not set to an instance of an object. Pin
Member 1103130429-Mar-17 23:56
Member 1103130429-Mar-17 23:56 
AnswerRe: Object reference not set to an instance of an object. Pin
Ralf Meier30-Mar-17 0:07
mveRalf Meier30-Mar-17 0:07 
GeneralRe: Object reference not set to an instance of an object. Pin
Member 1103130430-Mar-17 0:28
Member 1103130430-Mar-17 0:28 
Questionmultithreads Pin
Member 1306030229-Mar-17 20:41
Member 1306030229-Mar-17 20:41 
AnswerRe: multithreads Pin
Chris Quinn29-Mar-17 21:29
Chris Quinn29-Mar-17 21:29 
GeneralRe: multithreads Pin
Member 1306030229-Mar-17 22:16
Member 1306030229-Mar-17 22:16 
GeneralRe: multithreads Pin
Chris Quinn29-Mar-17 22:18
Chris Quinn29-Mar-17 22:18 
GeneralRe: multithreads Pin
Member 1306030229-Mar-17 23:59
Member 1306030229-Mar-17 23:59 
Questionimporting excel file to sql server Pin
Member 1305213529-Mar-17 8:31
Member 1305213529-Mar-17 8:31 
AnswerRe: importing excel file to sql server Pin
Member 1303625129-Mar-17 9:50
Member 1303625129-Mar-17 9:50 
QuestionMacro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 3:07
Member 1308978628-Mar-17 3:07 
QuestionRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 3:38
mveCHill6028-Mar-17 3:38 
AnswerRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 3:41
Member 1308978628-Mar-17 3:41 
AnswerRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 3:58
mveCHill6028-Mar-17 3:58 
GeneralRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 10:53
Member 1308978628-Mar-17 10: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.