kwh3856
asked on
HTML bold code works for one string but not the other?
I am using the HTML bold code to modify text in a string variable that is then attached to an HTML editor for display. In one line of the code it works beautiful but in another it does not. Can someone point me in the right direction?
int i = 0;
foreach (var rsdatarec in RXresult)
{
rxarray[i] = rsdatarec.rxdata.RxItemName + "<b>Rx Strength = </b>" + rsdatarec.rxdata.RxStrength + " <b>Take = </b>" + rsdatarec.rxdata.RxTakeValue + " <b>Frequency = <b>/" + rsdatarec.rxdata.RxFreq + " <b>Duration = </b>" + rsdatarec.rxdata.RxDuration + " <b>Dispense = </b>" + rsdatarec.rxdata.RxDespenseValue + " <b>Refills = </b>" + rsdatarec.rxdata.RxRefillsValue;----------<<<<<<<<<-----problem occurs HERE
MyGlobalVars.Rx[i] = rxarray[i];
i++;
}
// Concantenate Rx Array
int rxindex;
MyGlobalVars.RxConCat = "<br /><br /><font color=blue><b>Medications</b></font><br />"; -----------<<< works great HERE---
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wow!!! I totaly missed that. I guess I was to close to the forest to see the trees. Thanks.
ASKER
line 17 does