Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: Align Text Vertically For PDF Document Pin
Garth J Lancaster3-Jul-13 16:12
professionalGarth J Lancaster3-Jul-13 16:12 
GeneralRe: Align Text Vertically For PDF Document Pin
reethu_test3-Jul-13 16:23
reethu_test3-Jul-13 16:23 
Questionc# and query result Pin
User34903-Jul-13 9:11
User34903-Jul-13 9:11 
AnswerRe: c# and query result Pin
Pete O'Hanlon3-Jul-13 10:09
mvePete O'Hanlon3-Jul-13 10:09 
GeneralRe: c# and query result Pin
User34903-Jul-13 10:15
User34903-Jul-13 10:15 
GeneralRe: c# and query result Pin
Pete O'Hanlon3-Jul-13 10:20
mvePete O'Hanlon3-Jul-13 10:20 
GeneralRe: c# and query result Pin
User34903-Jul-13 10:23
User34903-Jul-13 10:23 
GeneralRe: c# and query result Pin
Pete O'Hanlon3-Jul-13 10:29
mvePete O'Hanlon3-Jul-13 10:29 
So all you're doing is testing to see if ReferenceYear exists? Why not just do SELECT Count(1)... instead, and then just evaluate the count? If it's zero, the record doesn't exist? Also, you may want to pay attention to the fact your select statement is vulnerable to a SQL Injection attack.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: c# and query result Pin
KiranKumar Roy3-Jul-13 20:10
KiranKumar Roy3-Jul-13 20:10 
GeneralRe: c# and query result Pin
User34904-Jul-13 11:11
User34904-Jul-13 11:11 
Questionc# and query result Pin
User34903-Jul-13 7:21
User34903-Jul-13 7:21 
AnswerRe: c# and query result Pin
OriginalGriff3-Jul-13 8:35
mveOriginalGriff3-Jul-13 8:35 
QuestionCommon Trace Format in C# Pin
srikumarrampa3-Jul-13 4:08
srikumarrampa3-Jul-13 4:08 
AnswerRe: Common Trace Format in C# Pin
Pete O'Hanlon3-Jul-13 4:51
mvePete O'Hanlon3-Jul-13 4:51 
QuestionInstall application without install SQLSERVER Pin
dharmaa.m2-Jul-13 8:38
dharmaa.m2-Jul-13 8:38 
AnswerRe: Install application without install SQLSERVER Pin
Ron Beyer2-Jul-13 9:18
professionalRon Beyer2-Jul-13 9:18 
GeneralRe: Install application without install SQLSERVER Pin
dharmaa.m2-Jul-13 9:44
dharmaa.m2-Jul-13 9:44 
GeneralRe: Install application without install SQLSERVER Pin
Ron Beyer2-Jul-13 9:50
professionalRon Beyer2-Jul-13 9:50 
AnswerRe: Install application without install SQLSERVER Pin
Manu V Nath3-Jul-13 23:30
professionalManu V Nath3-Jul-13 23:30 
GeneralRe: Install application without install SQLSERVER Pin
Eddy Vluggen4-Jul-13 0:01
professionalEddy Vluggen4-Jul-13 0:01 
QuestionC# deployment creating a porject folder Pin
classy_dog2-Jul-13 6:38
classy_dog2-Jul-13 6:38 
AnswerRe: C# deployment creating a porject folder Pin
NickPace3-Jul-13 6:30
NickPace3-Jul-13 6:30 
QuestionHow to combine ClickOnce and normal installer Pin
MathijsBeentjes2-Jul-13 5:47
MathijsBeentjes2-Jul-13 5:47 
AnswerRe: How to combine ClickOnce and normal installer Pin
GuyThiebaut3-Jul-13 0:08
professionalGuyThiebaut3-Jul-13 0:08 
QuestionRadio buttons in PropertyGrid Pin
lukeer1-Jul-13 21:02
lukeer1-Jul-13 21:02 

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.