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

Visual Basic

 
GeneralRe: Error when connecting to Ms access database Pin
Dave Kreskowiak20-Jul-07 2:28
mveDave Kreskowiak20-Jul-07 2:28 
GeneralRe: Error when connecting to Ms access database Pin
Mekong River22-Jul-07 15:39
Mekong River22-Jul-07 15:39 
QuestionHow To AOP IN VB.NET Pin
tomaka18-Jul-07 23:43
tomaka18-Jul-07 23:43 
AnswerRe: How To AOP IN VB.NET Pin
Dave Kreskowiak19-Jul-07 3:29
mveDave Kreskowiak19-Jul-07 3:29 
QuestionProblem on Executing application path in VB6.0 Pin
Srinivas Kaparthi18-Jul-07 23:31
Srinivas Kaparthi18-Jul-07 23:31 
AnswerRe: Problem on Executing application path in VB6.0 Pin
Navneet Hegde19-Jul-07 2:38
Navneet Hegde19-Jul-07 2:38 
GeneralRe: Problem on Executing application path in VB6.0 Pin
Srinivas Kaparthi21-Jul-07 1:02
Srinivas Kaparthi21-Jul-07 1:02 
QuestionAccess form1 from form2. Pin
KOKEMO18-Jul-07 23:23
KOKEMO18-Jul-07 23:23 
AnswerRe: Access form1 from form2. Pin
Colin Angus Mackay18-Jul-07 23:39
Colin Angus Mackay18-Jul-07 23:39 
AnswerRe: Access form1 from form2. Pin
Naji El Kotob19-Jul-07 0:07
Naji El Kotob19-Jul-07 0:07 
AnswerRe: Access form1 from form2. Pin
Dave Kreskowiak19-Jul-07 3:13
mveDave Kreskowiak19-Jul-07 3:13 
GeneralRe: Access form1 from form2. Pin
Paul Conrad19-Jul-07 9:34
professionalPaul Conrad19-Jul-07 9:34 
GeneralRe: Access form1 from form2. Pin
Dave Kreskowiak19-Jul-07 15:55
mveDave Kreskowiak19-Jul-07 15:55 
JokeRe: Access form1 from form2. Pin
Paul Conrad19-Jul-07 16:02
professionalPaul Conrad19-Jul-07 16:02 
Questioneasy way to print datagrid ? Pin
Mr.Kode18-Jul-07 23:16
Mr.Kode18-Jul-07 23:16 
AnswerRe: easy way to print datagrid ? Pin
Dave Kreskowiak19-Jul-07 3:09
mveDave Kreskowiak19-Jul-07 3:09 
AnswerRe: easy way to print datagrid ? Pin
Duncan Edwards Jones19-Jul-07 4:01
professionalDuncan Edwards Jones19-Jul-07 4:01 
Questionsql statement Pin
magedhv18-Jul-07 23:13
magedhv18-Jul-07 23:13 
AnswerRe: sql statement Pin
cutequencher20-Jul-07 5:40
cutequencher20-Jul-07 5:40 
QuestionHow to copy database? Pin
help as an alias18-Jul-07 22:58
help as an alias18-Jul-07 22:58 
AnswerRe: How to copy database? Pin
Colin Angus Mackay18-Jul-07 23:33
Colin Angus Mackay18-Jul-07 23:33 
AnswerRe: How to copy database? Pin
Naji El Kotob18-Jul-07 23:53
Naji El Kotob18-Jul-07 23:53 
GeneralRe: How to copy database? Pin
help as an alias18-Jul-07 23:55
help as an alias18-Jul-07 23:55 
Questionsql statement Pin
magedhv18-Jul-07 22:39
magedhv18-Jul-07 22:39 
AnswerRe: sql statement Pin
Naji El Kotob18-Jul-07 22:58
Naji El Kotob18-Jul-07 22:58 
Hi,

You could simply use the following:
Dim strSQL as STring
strSQL = "SELECT * FROM Persons WHERE FirstName LIKE '%" & TextBox1.Text & "%'"
...

But this is not a secure way, SQL Injection could be possible here!

regards,

NajiCo http://www.InsideVB.NET[^]

It's nice 2b important, but it's more important 2b nice...

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.