Click here to Skip to main content
15,917,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? [modified] Pin
bbranded10-Aug-11 5:27
bbranded10-Aug-11 5:27 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
Ian Shlasko10-Aug-11 5:43
Ian Shlasko10-Aug-11 5:43 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? [modified] Pin
bbranded11-Aug-11 7:17
bbranded11-Aug-11 7:17 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
Shameel10-Aug-11 9:32
professionalShameel10-Aug-11 9:32 
AnswerRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
PIEBALDconsult10-Aug-11 15:34
mvePIEBALDconsult10-Aug-11 15:34 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
bbranded10-Aug-11 15:36
bbranded10-Aug-11 15:36 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
PIEBALDconsult10-Aug-11 17:19
mvePIEBALDconsult10-Aug-11 17:19 
GeneralRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
bbranded11-Aug-11 1:27
bbranded11-Aug-11 1:27 
QuestionFiltering Problem in Sql Syntax using C#.net Pin
nassimnastaran10-Aug-11 0:17
nassimnastaran10-Aug-11 0:17 
AnswerRe: Filtering Problem in Sql Syntax using C#.net Pin
Shameel10-Aug-11 0:38
professionalShameel10-Aug-11 0:38 
AnswerRe: Filtering Problem in Sql Syntax using C#.net Pin
MicroVirus10-Aug-11 3:30
MicroVirus10-Aug-11 3:30 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
GenJerDan10-Aug-11 3:54
GenJerDan10-Aug-11 3:54 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
BobJanova10-Aug-11 3:58
BobJanova10-Aug-11 3:58 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
GenJerDan10-Aug-11 4:01
GenJerDan10-Aug-11 4:01 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
MicroVirus10-Aug-11 4:05
MicroVirus10-Aug-11 4:05 
AnswerRe: Filtering Problem in Sql Syntax using C#.net Pin
BobJanova10-Aug-11 3:57
BobJanova10-Aug-11 3:57 
Your code has SQL injection written all over it, though I'm not sure how protective the DataView is (i.e. whether it passes that filter through to any database level processor where it could do real damage). Even if it protects you in this instance, get into the habit of escaping anything you put in a query string (and that's what that filter string is).

I agree with MicroVirus that you probably want the account to be an int and use =. With double you can use int or you can use (AccountNo>=value-delta) AND (AccountNo<=value+delta) where delta is a comparison tolerance value which you should pick.
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
nassimnastaran10-Aug-11 4:23
nassimnastaran10-Aug-11 4:23 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
BobJanova10-Aug-11 8:25
BobJanova10-Aug-11 8:25 
AnswerRe: Filtering Problem in Sql Syntax using C#.net Pin
Ian Shlasko10-Aug-11 4:01
Ian Shlasko10-Aug-11 4:01 
AnswerRe: Filtering Problem in Sql Syntax using C#.net Pin
loyal ginger10-Aug-11 4:13
loyal ginger10-Aug-11 4:13 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
nassimnastaran10-Aug-11 4:41
nassimnastaran10-Aug-11 4:41 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
loyal ginger10-Aug-11 4:51
loyal ginger10-Aug-11 4:51 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
nassimnastaran10-Aug-11 5:38
nassimnastaran10-Aug-11 5:38 
GeneralRe: Filtering Problem in Sql Syntax using C#.net Pin
loyal ginger10-Aug-11 6:17
loyal ginger10-Aug-11 6:17 
Questionhow to transfer file from computer to terminal (windows-mobile) Through FTP Pin
goldsoft9-Aug-11 23:12
goldsoft9-Aug-11 23:12 

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.