Gowri A

Gowri A

  • NA
  • 54
  • 47k

How do i print | operator in response outputstream

Jun 1 2014 11:52 PM
Hello,
foreach(SearchLoanEntities rec in registrationNumber)
{
 context.Response.Write(rec.RegistrationNumber+"|"+
 rec.ApplicantName+"|"+
 rec.GuarantorName+
 Environment.NewLine);                

From the above code i'm expecting the output as
AP011234|Gowri|Gowri
but it is displaying
AP011234 
It is treating | this as or instead of treating this as or how do i get this operator in output

Answers (9)