Click here to Skip to main content
15,895,423 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Vignesh Krishnan2-Apr-08 18:42
Vignesh Krishnan2-Apr-08 18:42 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Krishnraj2-Apr-08 20:37
Krishnraj2-Apr-08 20:37 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Vignesh Krishnan2-Apr-08 22:58
Vignesh Krishnan2-Apr-08 22:58 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Dave Kreskowiak3-Apr-08 3:29
mveDave Kreskowiak3-Apr-08 3:29 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Vignesh Krishnan3-Apr-08 20:04
Vignesh Krishnan3-Apr-08 20:04 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Dave Kreskowiak4-Apr-08 3:04
mveDave Kreskowiak4-Apr-08 3:04 
Questionsearch a range of data by date to display in datagrid view Pin
zaimah2-Apr-08 16:49
zaimah2-Apr-08 16:49 
GeneralRe: search a range of data by date to display in datagrid view Pin
Dave Kreskowiak3-Apr-08 3:27
mveDave Kreskowiak3-Apr-08 3:27 
zaimah wrote:
Dim cmd As SqlCommand = New SqlCommand("SELECT * FROM Senarai_Log where Date >= '" & startDate & "' and Date <= '" & endDate & "'",


It's best that you learn parameterized queries. The reason it doesn't work is because the dates are in the wrong format and your SQL is improperly written.

I highly suggest reading this[^] to understand parameterized queries and what your wrote it a huge security problem.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionRe: search a range of data by date to display in datagrid view Pin
zaimah3-Apr-08 14:43
zaimah3-Apr-08 14:43 
GeneralRe: search a range of data by date to display in datagrid view Pin
Dave Kreskowiak4-Apr-08 5:15
mveDave Kreskowiak4-Apr-08 5:15 
QuestionRe: search a range of data by date to display in datagrid view Pin
zaimah6-Apr-08 14:55
zaimah6-Apr-08 14:55 
Questionhow to get URL of already running firefox in vb.net application Pin
bhavin12302-Apr-08 16:38
bhavin12302-Apr-08 16:38 
AnswerRe: how to get URL of already running firefox in vb.net application Pin
Richard Andrew x642-Apr-08 17:34
professionalRichard Andrew x642-Apr-08 17:34 
GeneralRe: how to get URL of already running firefox in vb.net application Pin
bhavin12302-Apr-08 17:51
bhavin12302-Apr-08 17:51 
GeneralRe: how to get URL of already running firefox in vb.net application Pin
Richard Andrew x642-Apr-08 18:00
professionalRichard Andrew x642-Apr-08 18:00 
AnswerRe: how to get URL of already running firefox in vb.net application Pin
bhavin12303-Apr-08 16:31
bhavin12303-Apr-08 16:31 
GeneralApplication Licensing Pin
Mitch F.2-Apr-08 12:46
Mitch F.2-Apr-08 12:46 
GeneralRe: Application Licensing Pin
Thomas Stockwell2-Apr-08 15:27
professionalThomas Stockwell2-Apr-08 15:27 
GeneralRe: Application Licensing Pin
Richard Andrew x642-Apr-08 17:40
professionalRichard Andrew x642-Apr-08 17:40 
GeneralRe: Application Licensing Pin
Colin Angus Mackay2-Apr-08 22:54
Colin Angus Mackay2-Apr-08 22:54 
GeneralRe: Application Licensing Pin
Mitch F.3-Apr-08 16:20
Mitch F.3-Apr-08 16:20 
GeneralRe: Application Licensing Pin
Mark Churchill2-Apr-08 19:02
Mark Churchill2-Apr-08 19:02 
GeneralRe: Application Licensing Pin
Mitch F.2-Apr-08 20:20
Mitch F.2-Apr-08 20:20 
Questionhelp required for displaying autocad dwg files in vb6 form Pin
Anil V. Chaudhary2-Apr-08 3:19
Anil V. Chaudhary2-Apr-08 3:19 
GeneralRe: help required for displaying autocad dwg files in vb6 form Pin
Dave Kreskowiak2-Apr-08 3:40
mveDave Kreskowiak2-Apr-08 3:40 

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.