Exception in C# Code [Sql Query]ankit gaur8yAsked Sep 18, 2018, 4:31 AM892.NETThis is my code Exception
Nitin Sontakke8y agoPosted Sep 21, 2018, 3:02 AMAccepted answerInstead of 'Select ItemId from', you had typed 'Select ItemId form'
Nitin Sontakke8y agoPosted Sep 21, 2018, 3:04 AMOn second thought, if you are going to get back 'same value' as you are passing in the where clause, why not just use that value directly? Hope you understand what I am trying to say!
Sai Kumar Koona8y agoPosted Sep 18, 2018, 9:57 AMin inner query, you are trying to check the string against itemid which is the integer. Please do check it.
Amit Gupta8y agoPosted Sep 18, 2018, 4:54 AMIt was a syntax error, debug your code and paste your query in ssms, there you can find the exact mistake you are making. Good Luck
Nitin SontakkePosted Sep 21, 2018, 3:02 AM
Nitin SontakkePosted Sep 21, 2018, 3:04 AM
ankit gaurPosted Sep 21, 2018, 2:20 AM
Sai Kumar KoonaPosted Sep 18, 2018, 9:57 AM
Amit GuptaPosted Sep 18, 2018, 4:54 AM