Thank you for your suggestion Peter, Unfortunately, the IMG tag does not seem to support data binding directly to an image within the XML Data Island. From http://msdn2.microsoft.com/en-us/library/ms531385.aspx:
"An img element applies the data supplied by a DSO to locate, load, and display the image typically pointed to by its src attribute. Supplying raw image data through the bound column is not supported." Regards, Eyvind. -----Opprinnelig melding----- Fra: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] På vegne av Peter Ritchie Sendt: 10. mai 2007 13:35 Til: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Emne: Re: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without saving it to disk first (WinForms) You should be able to do something with XML Data Islands and Data Binding. For example, the following pulls data from an XML Data Island: <html> <body> <xml id="cdcat" > <?xml version="1.0"?> <ROOT> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bobs Dylan</ARTIST> </CD> </ROOT> </xml> <table border="1" datasrc="#cdcat"> <tr> <td><span datafld="dt:ARTIST"></span></td> <td><span datafld="dt:TITLE"></span></td> </tr> </table> </body> </html> the IMG tag supports the datafld attribute. I've never done anything like that with image data. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com