I have checked my database table it is having that column with same name so what is the actual exception how I can identity what is the issue check the screenshto innere 
Loading
I have checked my database table it is having that column with same name so what is the actual exception how I can identity what is the issue check the screenshto innere 
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Mark TaborRank #914 · 2.3K reputationPosted Jan 19, 2022, 1:00 AM EST
Ranganath PrasadRank #2,004 · 725 reputationPosted Jan 19, 2022, 1:29 AM EST
Hi, Did you try to log/ catch the query from the code and try to execute it direcly in db using any db tool? It clearly looks like a missing colum/ incorrect query syntax
Mark TaborRank #914 · 2.3K reputationPosted Jan 24, 2022, 4:57 AM EST
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Jan 28, 2022, 12:32 AM EST
With try-catch block use the simply following code to get all detailed exception inside:
try
{
// Your code
}
catch (Exception ex)
{
var exception = ex.ToString();
}
Secondly, If you have column with same name then enclosed your value into appropriate quotes.
Mark TaborRank #914 · 2.3K reputationPosted Mar 4, 2022, 1:02 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Mar 4, 2022, 5:04 AM EST