Sunday, August 18, 2013

Code for label text with new lines - asp.net C#

label1.Text=dt.Rows[0][""text"].ToString().Replace(Enviornment.NewLine,"<br>");

No comments:

Post a Comment