Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: New in beta 1 and 2.


Message #1 by "Fredrik Normen" <fredrik.normen@e...> on Fri, 29 Sep 2000 08:34:35 +0100
-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


  Return to Index