Editing display data in databound listbox ... - RESOLVED
Hello,
I have a databound list box that I created in design time. The info it displays uses HTML codes for apostrophies etc. I simply want to do a replace on the data - replace ' with single quotes - only on whats displayed - not the actual data.
Any ideas on how I can accomplish this??
Thanks,
Rich
C# -- Replace text in Databound list box created in design time - RESOLVED
This worked!!:
Code:
foreach (ListItem Le in lstbxAvailProds.Items)
Le.Text = Le.Text.Replace("'","'");
-Rich