Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating table on the fly - missing line breaks
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Generating table on the fly - missing line breaks
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01294342
Message ID:
01294342
Vues:
46
Hi everybody,

I'm trying to figure out why the description field misses the line breaks when displayed in the web page.

Here is a code from the class which I believe is responsible for creating the entries in the table format:
 tcTitle.Text += "\">" + (string)rdr["EventName"] + "</a><br></p>";
                tcDescription.Text = "<p class=\"bodytext_calendar\">" + (string)rdr["Description"]
                    + "</p>";
                rInfo.Cells.Add(tcSpacer1);
                rInfo.Cells.Add(tcDate);
                rInfo.Cells.Add(tcTime);
                rInfo.Cells.Add(tcTitle);
                rInfo.Cells.Add(tcSpacer2);
                rInfo.Cells.Add(tcDescription);
                rInfo.Cells.Add(tcSpacer3);
                tblList.Rows.Add(rInfo);
                tblList.Rows.Add(rBar);
Do you see what may be wrong here?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform