Click here to Skip to main content
15,878,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to draw an image using form controls? Pin
Le@rner16-Sep-16 0:09
Le@rner16-Sep-16 0:09 
AnswerRe: How to draw an image using form controls? Pin
Pete O'Hanlon15-Sep-16 22:04
mvePete O'Hanlon15-Sep-16 22:04 
QuestionCalling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 5:35
Member 1274201915-Sep-16 5:35 
AnswerRe: Calling a stored procedure from C# failing Pin
#realJSOP15-Sep-16 5:43
mve#realJSOP15-Sep-16 5:43 
GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 5:45
Member 1274201915-Sep-16 5:45 
AnswerRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 5:51
mveOriginalGriff15-Sep-16 5:51 
GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 6:28
Member 1274201915-Sep-16 6:28 
GeneralRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 6:42
mveOriginalGriff15-Sep-16 6:42 
And if you use the debugger to look at your itemsToBeChecked variable in the C#, you'll find the quotes are part of the string - which means they are part of the parameter you pass to SQL, and that explains why it doesn't match.

Now all you need to do is look at where that comes from and find out why the quotes are there. They're easy to get rid of - .Trim('''') will remove them - but it's better to find out what adds them and stop it doing it! Laugh | :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 7:01
Member 1274201915-Sep-16 7:01 
GeneralRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 8:05
mveOriginalGriff15-Sep-16 8:05 
GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 11:07
Member 1274201915-Sep-16 11:07 
GeneralRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 11:29
mveOriginalGriff15-Sep-16 11:29 
GeneralRe: Calling a stored procedure from C# failing Pin
Luc Pattyn15-Sep-16 21:12
sitebuilderLuc Pattyn15-Sep-16 21:12 
GeneralRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 21:15
mveOriginalGriff15-Sep-16 21:15 
QuestionHow to call store procedure which return multiple result set with EF code first Pin
Tridip Bhattacharjee15-Sep-16 5:11
professionalTridip Bhattacharjee15-Sep-16 5:11 
AnswerRe: How to call store procedure which return multiple result set with EF code first Pin
OriginalGriff15-Sep-16 5:42
mveOriginalGriff15-Sep-16 5:42 
GeneralRe: How to call store procedure which return multiple result set with EF code first Pin
Pete O'Hanlon15-Sep-16 5:43
mvePete O'Hanlon15-Sep-16 5:43 
GeneralRe: How to call store procedure which return multiple result set with EF code first Pin
OriginalGriff15-Sep-16 5:59
mveOriginalGriff15-Sep-16 5:59 
GeneralRe: How to call store procedure which return multiple result set with EF code first Pin
Pete O'Hanlon15-Sep-16 9:05
mvePete O'Hanlon15-Sep-16 9:05 
QuestionEF code first and out type parameter in store procedure Pin
Tridip Bhattacharjee15-Sep-16 5:11
professionalTridip Bhattacharjee15-Sep-16 5:11 
AnswerRe: EF code first and out type parameter in store procedure Pin
Dave Kreskowiak16-Sep-16 3:51
mveDave Kreskowiak16-Sep-16 3:51 
QuestionHow to read single value return by store proc with EF code first Pin
Tridip Bhattacharjee15-Sep-16 5:10
professionalTridip Bhattacharjee15-Sep-16 5:10 
AnswerRe: How to read single value return by store proc with EF code first Pin
Pete O'Hanlon15-Sep-16 5:42
mvePete O'Hanlon15-Sep-16 5:42 
QuestionTask Canceled Exception Pin
Kevin Marois14-Sep-16 16:59
professionalKevin Marois14-Sep-16 16:59 
AnswerRe: Task Canceled Exception Pin
Super Lloyd14-Sep-16 17:55
Super Lloyd14-Sep-16 17:55 

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.