XmlDataSource: Problems with Data property

C

Charlie@CBFC

Hi:

If I point my XmlDataSource control at an xml file on server, databindings
work fine. If I take same file, copy to a string, and use it to intitalize
Data property of XmlDataSource control, databindings blow up. However, with
data binding removed, it works both ways.

The reason I'm doing this is I would like xmldatasource to bind to a sql
query rather than a file on hard drive so I need to provide xml as a string.

Thanks,
Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,823
Latest member
Nadia88

Latest Threads

Top