XML DataSource Corrupts Page Output

Hi guys
maybe some of you have an answer for that…
I spent quite a few hours on that and not sure where to dig now…

NOT Working ?(

[COLOR=“Blue”]private void BindDS
{
[COLOR=“Blue”]DataSet _ds = new[COLOR=“Blue”] DataSet();
[COLOR=“Blue”]int _count = procedure_returning_dataset_from_XMLData([COLOR=“Blue”]string Query, [COLOR=“Blue”]out _ds);

Repeater.DataSource =_ds.Tables[0];
Repeater.DataBind();
}

Rendered Page out put is


The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

An invalid character was found in text content. Error processing resource 'http://localhost:


Note:

  1. XML Data is present, valid and properly encoded
  2. Error appears even if there is no DataBind at all
  3. Error appears even I simply call the procedure without an assignment of any kind on target page..

Does not appear if I save the file fist out put and load it into new DataSource and bind to the repeater

(please do not point out syntax mistakes if any I simplified code…)

Any Pointers are appreciated!

  1. XML Data is present, valid and properly encoded
  2. Error appears even if there is no DataBind at all
  3. Error appears even I simply call the procedure without an assignment of any kind on target page..

Does not appear if I save the file fist out put and load it into new DataSource and bind to the repeater

(please do not point out syntax mistakes if any I simplified code…)..


Want to get-on Google’s first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groups seo specialist