Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
PIEBALDconsult15-Jul-11 3:21
mvePIEBALDconsult15-Jul-11 3:21 
QuestionProblem with messagequeue Pin
prasadbuddhika15-Jul-11 1:19
prasadbuddhika15-Jul-11 1:19 
QuestionGetting Rows That Was Changed Pin
AmbiguousName15-Jul-11 1:00
AmbiguousName15-Jul-11 1:00 
QuestionRe: Getting Rows That Was Changed Pin
DaveAuld15-Jul-11 1:16
professionalDaveAuld15-Jul-11 1:16 
AnswerRe: Getting Rows That Was Changed [modified] Pin
AmbiguousName15-Jul-11 1:29
AmbiguousName15-Jul-11 1:29 
GeneralRe: Getting Rows That Was Changed [modified] Pin
DaveAuld15-Jul-11 1:41
professionalDaveAuld15-Jul-11 1:41 
GeneralRe: Getting Rows That Was Changed Pin
GuyThiebaut15-Jul-11 2:07
professionalGuyThiebaut15-Jul-11 2:07 
QuestionOnly show decimals if there are any Pin
Etienne_12314-Jul-11 22:09
Etienne_12314-Jul-11 22:09 
Hi
Is it possible to have a variable ONLY show decimals if it does have decimal values? E.g. if the value comes back grom the database as 500 then instead of showing 500.00, it should just show 500. If it comes back as 500.55, then it should show 500.55. Please note that I do not want to use string formatting here as I want to retain the decimal type for sorting purposes.
AnswerRe: Only show decimals if there are any Pin
Etienne_12314-Jul-11 22:24
Etienne_12314-Jul-11 22:24 
GeneralRe: Only show decimals if there are any Pin
Shameel15-Jul-11 2:00
professionalShameel15-Jul-11 2:00 
AnswerRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 22:32
professionalWayne Gaylard14-Jul-11 22:32 
SuggestionRe: Only show decimals if there are any PinPopular
GuyThiebaut14-Jul-11 22:55
professionalGuyThiebaut14-Jul-11 22:55 
GeneralRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 23:23
professionalWayne Gaylard14-Jul-11 23:23 
GeneralRe: Only show decimals if there are any Pin
Blue_Boy14-Jul-11 23:50
Blue_Boy14-Jul-11 23:50 
GeneralRe: Only show decimals if there are any Pin
Etienne_12315-Jul-11 2:56
Etienne_12315-Jul-11 2:56 
AnswerRe: Only show decimals if there are any Pin
PIEBALDconsult15-Jul-11 2:55
mvePIEBALDconsult15-Jul-11 2:55 
AnswerRe: Only show decimals if there are any Pin
DaveyM6917-Jul-11 5:52
professionalDaveyM6917-Jul-11 5:52 
Questionchemsketch Pin
albertodiprima14-Jul-11 1:55
albertodiprima14-Jul-11 1:55 
AnswerRe: chemsketch PinPopular
Richard MacCutchan14-Jul-11 1:56
mveRichard MacCutchan14-Jul-11 1:56 
GeneralRe: chemsketch Pin
albertodiprima14-Jul-11 2:08
albertodiprima14-Jul-11 2:08 
GeneralRe: chemsketch Pin
Keith Barrow14-Jul-11 3:06
professionalKeith Barrow14-Jul-11 3:06 
GeneralRe: chemsketch Pin
Richard MacCutchan14-Jul-11 4:23
mveRichard MacCutchan14-Jul-11 4:23 
GeneralRe: chemsketch Pin
BobJanova14-Jul-11 4:27
BobJanova14-Jul-11 4:27 
GeneralRe: chemsketch PinPopular
Richard MacCutchan14-Jul-11 4:30
mveRichard MacCutchan14-Jul-11 4:30 
GeneralRe: chemsketch Pin
BobJanova14-Jul-11 5:09
BobJanova14-Jul-11 5:09 

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.