Vignesh Kumar

Vignesh Kumar

  • NA
  • 1k
  • 418.4k

NEWLINE IN CONSTANT

Sep 16 2013 3:26 AM
Hi,

When I compile I get "Newline in Constant" error in the below code.

command.CommandText = "UPDATE [Alert_ProbMgmt] ='" + ProblemTicket + "' [Remedy_Ticket_Num] ='" + ProblemDescription + "'[Problem_Desc]='" + RootCauseStatus + "' [Root_Cause_Status]='" + RootCauseGroup + "'[Assigned_Remedy_Group]='" + ProblemTeamResourceAssigned + "'[Assigned_Remedy_Resource]='" + RootCauseApplication + "'[NULL]='" + WorkAround + "'[Work_Around]='" + WorkAroundDeterminedon + "'[Work_Around_Dt]='" + Reproducible + "'[Reproducible_ind]='" + RootCauseDetails + "'[Root_Cause_Details]='" + VendorName + "'[Vendor_Name]='" + VendorTicket + "'[Vendor_Ticket_Num]='" + VendorResourceContact + "'[Vendor_Contact]='" + KnownError + "'[Known_Error]='" + '");

Answers (4)