Click here to Skip to main content
15,891,649 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help regarding search in SQL database Pin
εїзεїзεїз31-Aug-09 6:02
εїзεїзεїз31-Aug-09 6:02 
GeneralRe: Help regarding search in SQL database Pin
Dave Kreskowiak31-Aug-09 8:55
mveDave Kreskowiak31-Aug-09 8:55 
GeneralRe: Help regarding search in SQL database Pin
εїзεїзεїз31-Aug-09 10:06
εїзεїзεїз31-Aug-09 10:06 
GeneralRe: Help regarding search in SQL database Pin
jeshra27931-Aug-09 17:52
jeshra27931-Aug-09 17:52 
GeneralRe: Help regarding search in SQL database Pin
Dave Kreskowiak1-Sep-09 1:23
mveDave Kreskowiak1-Sep-09 1:23 
AnswerRe: Help regarding search in SQL database Pin
Mycroft Holmes31-Aug-09 14:11
professionalMycroft Holmes31-Aug-09 14:11 
GeneralRe: Help regarding search in SQL database Pin
jeshra2795-Sep-09 3:50
jeshra2795-Sep-09 3:50 
GeneralRe: Help regarding search in SQL database Pin
Mycroft Holmes5-Sep-09 12:52
professionalMycroft Holmes5-Sep-09 12:52 
Ok, you MAY have made mistake number one in database design. Store your dates as datetime, not as varchar. You should immediately go and change you format to datetime, wear any pain there is for validating existing data but do it now. Life will ony get worse from here on if you don't.

When storing a datetime from client pass in Today instead of Now - eliminates the time component of the datetime (unless it is required of course)

You should try eliminating the time from the datetimepicker (short format) and add 9pm to the result.

Also look into parameterised queries, they may be complex to start with but will make you life a lot simpler and safer (sql injection[^]).

Never underestimate the power of human stupidity
RAH

QuestionHow to send command to remote server.... Pin
Suresh Suthar31-Aug-09 1:51
professionalSuresh Suthar31-Aug-09 1:51 
AnswerRe: How to send command to remote server.... Pin
Dave Kreskowiak31-Aug-09 4:19
mveDave Kreskowiak31-Aug-09 4:19 
AnswerRe: How to send command to remote server.... Pin
LloydA11131-Aug-09 15:20
LloydA11131-Aug-09 15:20 
QuestionIsUserAdmin (Vista non-elevated) Pin
AB_dev30-Aug-09 23:55
AB_dev30-Aug-09 23:55 
AnswerRe: IsUserAdmin (Vista non-elevated) Pin
Luc Pattyn31-Aug-09 1:02
sitebuilderLuc Pattyn31-Aug-09 1:02 
GeneralRe: IsUserAdmin (Vista non-elevated) Pin
AB_dev31-Aug-09 2:09
AB_dev31-Aug-09 2:09 
GeneralRe: IsUserAdmin (Vista non-elevated) Pin
Luc Pattyn31-Aug-09 2:39
sitebuilderLuc Pattyn31-Aug-09 2:39 
AnswerRe: IsUserAdmin (Vista non-elevated) Pin
AB_dev31-Aug-09 4:09
AB_dev31-Aug-09 4:09 
GeneralQuery For Getting Last Child Note - Sourabh Das Pin
Dot Net Jantu30-Aug-09 22:54
Dot Net Jantu30-Aug-09 22:54 
GeneralRe: Query For Getting Last Child Note - Sourabh Das Pin
Mycroft Holmes30-Aug-09 23:12
professionalMycroft Holmes30-Aug-09 23:12 
QuestionAbout Crystal Report Viewer using Dataset Pin
drexler_kk30-Aug-09 21:31
drexler_kk30-Aug-09 21:31 
AnswerRe: About Crystal Report Viewer using Dataset Pin
Mycroft Holmes30-Aug-09 22:53
professionalMycroft Holmes30-Aug-09 22:53 
QuestionRe: About Crystal Report Viewer using Dataset Pin
drexler_kk30-Aug-09 23:25
drexler_kk30-Aug-09 23:25 
AnswerCrystal Report using Dataset Pin
David Mujica31-Aug-09 3:20
David Mujica31-Aug-09 3:20 
AnswerRe: About Crystal Report Viewer using Dataset Pin
εїзεїзεїз31-Aug-09 6:30
εїзεїзεїз31-Aug-09 6:30 
QuestionEditable DataGridViewComboBoxColumn Pin
C#Coudou30-Aug-09 19:37
C#Coudou30-Aug-09 19:37 
AnswerRe: Editable DataGridViewComboBoxColumn Pin
εїзεїзεїз30-Aug-09 21:18
εїзεїзεїз30-Aug-09 21:18 

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.