whidbey/asp.net: best practices for generating XML and binding to treeview?

K

Ken Fine

Apologies if this is not the right place for this question.

I'm curious what method people use in practice to translate database data
into XML that can be consumed by XML-hungry controls. I'm playing around
with Whidbey, and one of the niftier controls is the treeview. For my use it
makes sense to pull this information from a database. However, the treeview
wants XML in file-based form.

I know that SQL Server 2k (which I have) can return XML mapped to a schema
you specify. However, the Whidbey design environment only allows for XML
files to define the XmlDataSource.

Certainly, we could write out XML to disk, though that seems inefficient. Am
I getting what I deserve for expecting too much out of an alpha release of a
new development tool, or is there some fundamental design pattern that I
need to acquaint myself with?

Thanks.

-KF
 

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,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top