Getting error while adding values in DB- object reference not set to an instance of an object.
I checked the log message for the variable values, that is also coming correctly.
DB connection is also fine.
Can anyone please help me to find out the issue.
Query -
“Insert Into Patient_Basic_Info Values ('”+
“Location,”+
“MRN_Num)”+
“Values (”+
“'”+Location+“',”+
“'”+MRN+“'”+
“);”
Error -