9
Answers

How do i print | operator in response outputstream

Ask a question
Gowri A

Gowri A

10y
1.1k
1
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)