SELECT
CAST ([content_html] AS XML).query(\'/root/Physicians/specialty/a\') AS [Specialty1]
, CAST ([content_html] AS XML).query(\'/root/Physicians/specialty2/a\
In case your problem is caused by NULL values, then you can solve your problem with sth like:
public string DisplayMultipleValues(object strValue)
{
if (strValue == null)
return "";
else
return (NonBlankValueOf(strValue.ToString()));
}
Your Eval statements should look like this:
<%# Eval("Specialty1") == null ? "" : Eval("Specialty1").ToString() +
DisplayMultipleValues(Eval("Specialty2")) + etc ...