aspx thread: New in beta 1 and 2.
-Comments from Scott Guthrie-
In Beta1 you'll see a new <asp:xml> control that will provide an easy and fast way
to manipulate XML islands on a page and/or apply XSL/T transforms. For
example:
<asp:xml id="MyXmlThing" DocumentSource="data.xml" TransformSource="transform.xsl" runat=server/>
One neat thing about this control is that we internally cache the heck out
of things. For example, we only ever touch the file system more than once
-- and only parse the documents on the first request (we then cache the
DOM tree and clone it on each request). Should be a big perf win over
using the exisitng XML COM component with ASP.
The following line of code required today (and in beta1):
MyGrid.DataSource = MyDataSet.Tables["foo"].DefaultView
MyGrid.DataBind()
will go away in beta2. Instead, it will just be:
MyGrid.DataSource = MyDataSet
MyGrid.DataBind()
/Fredrik Normen