i've the following prepared sql statment
select distinct VisitID from DiabetesChart
where PID=? and (DiabetesChart.FieldValue>?
and DiabetesChart.FieldValue<?
and FieldID=1)
order by VisitID
i want to insert it into a xml
<document>
<retrieval option="1">
<sql>
select distinct VisitID from DiabetesChart
where PID=? and (DiabetesChart.FieldValue>?
and DiabetesChart.FieldValue<?
and FieldID=1)
order by VisitID"
</sql>
</retrieval>
</document>
but i keep getting "Whitespace is not allowed at this location" when viewing the xml in IE.
the source of error is "and DiabetesChart.FieldValue<?", probably because of the "<?", anyone can advise how to overcome it?
select distinct VisitID from DiabetesChart
where PID=? and (DiabetesChart.FieldValue>?
and DiabetesChart.FieldValue<?
and FieldID=1)
order by VisitID
i want to insert it into a xml
<document>
<retrieval option="1">
<sql>
select distinct VisitID from DiabetesChart
where PID=? and (DiabetesChart.FieldValue>?
and DiabetesChart.FieldValue<?
and FieldID=1)
order by VisitID"
</sql>
</retrieval>
</document>
but i keep getting "Whitespace is not allowed at this location" when viewing the xml in IE.
the source of error is "and DiabetesChart.FieldValue<?", probably because of the "<?", anyone can advise how to overcome it?