Author: saraharisan | Posted on: 2/20/2010 3:18:07 AM | Views : 919

I am working with ASP.Net with C# language. I have given my code, wherein i need to add "\r\n" dynamically within a div tag. Please Help me in this regard


My program code:

foreach(DataRow daRowCon in obTabCon.Rows)
{
Label tempLab = new Label();
tempLab.Text = daRowCon["policy_no"].ToString().Trim() + daRowCon["policy_name"].ToString().Trim() + "\r\n";
midCondent.Controls.Add(tempLab);
//here i need to add "\r\n"

}  
-thanks in advance 
-Samu M
Chennai
...

Go to the complete details ...