Click here to Skip to main content
15,664,435 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: difference between Datagrid & datagridview Pin
sathesh pandian20-Feb-07 19:00
sathesh pandian20-Feb-07 19:00 
QuestionSelect Record Between 2 Dates Pin
Kumaran21cen20-Feb-07 18:33
Kumaran21cen20-Feb-07 18:33 
AnswerRe: Select Record Between 2 Dates Pin
Dave Kreskowiak21-Feb-07 4:36
mveDave Kreskowiak21-Feb-07 4:36 
Two words: "Parameterized Queries".

If you try and concatenate strings together, like you are in this code, you have to worry about putting the strings together with the correct date format. Using parameterized queries, the Parameters objects take care of that for you! You don't have to worry about getting the format right!

You can find out more about them in Colin's article SQL Injection Attacks and Some Tips on How to Prevent Them[^].


Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionBrowse the directory system Pin
ArchaBhandare20-Feb-07 18:00
ArchaBhandare20-Feb-07 18:00 
AnswerRe: Browse the directory system Pin
sathesh pandian20-Feb-07 18:15
sathesh pandian20-Feb-07 18:15 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 18:29
ArchaBhandare20-Feb-07 18:29 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 18:42
sathesh pandian20-Feb-07 18:42 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 18:55
ArchaBhandare20-Feb-07 18:55 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 21:41
sathesh pandian20-Feb-07 21:41 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 22:10
ArchaBhandare20-Feb-07 22:10 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 22:24
sathesh pandian20-Feb-07 22:24 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 22:31
ArchaBhandare20-Feb-07 22:31 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 22:38
sathesh pandian20-Feb-07 22:38 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 22:41
ArchaBhandare20-Feb-07 22:41 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 22:44
sathesh pandian20-Feb-07 22:44 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 22:49
ArchaBhandare20-Feb-07 22:49 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 22:56
sathesh pandian20-Feb-07 22:56 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 23:01
ArchaBhandare20-Feb-07 23:01 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 22:57
ArchaBhandare20-Feb-07 22:57 
GeneralRe: Browse the directory system Pin
sathesh pandian21-Feb-07 0:32
sathesh pandian21-Feb-07 0:32 
GeneralRe: Browse the directory system Pin
ArchaBhandare21-Feb-07 1:22
ArchaBhandare21-Feb-07 1:22 
GeneralRe: Browse the directory system Pin
Dave Kreskowiak21-Feb-07 4:33
mveDave Kreskowiak21-Feb-07 4:33 
QuestionVisual Studio Pin
eugenebasianomutya20-Feb-07 17:50
eugenebasianomutya20-Feb-07 17:50 
AnswerRe: Visual Studio Pin
sathesh pandian20-Feb-07 18:53
sathesh pandian20-Feb-07 18:53 
QuestionReturn Name of a Function Pin
jcrussell20-Feb-07 14:26
jcrussell20-Feb-07 14:26 

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.