XmlDataSource: Problems with Data property

Discussion in 'ASP .Net' started by Charlie@CBFC, Dec 14, 2006.

  1. Charlie@CBFC

    Charlie@CBFC Guest

    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
     
    Charlie@CBFC, Dec 14, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thor W Hammer

    XmlDataSource: How to render HTML data?

    Thor W Hammer, Nov 10, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,565
    S. Justin Gengo
    Jan 6, 2006
  2. =?Utf-8?B?U2xlYXp5?=

    XmlDataSource and embeded HTML within your XML data

    =?Utf-8?B?U2xlYXp5?=, Jun 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    363
    Walter Wang [MSFT]
    Jun 21, 2006
  3. Charlie@CBFC
    Replies:
    0
    Views:
    726
    Charlie@CBFC
    Dec 14, 2006
  4. =?ISO-8859-1?Q?Arint=E9?=

    XmlDataSource and viewing data

    =?ISO-8859-1?Q?Arint=E9?=, Oct 22, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    328
    Arinté
    Oct 23, 2007
  5. LaHorn2
    Replies:
    0
    Views:
    286
    LaHorn2
    Jun 12, 2006
Loading...

Share This Page