XmlDocument to DataSet in two lines. This is the quickest conversion I've found so far.
XmlDocument xdoc = MethodReturnsXmlDocument();
// convert to DataSet
DataSet ds = new DataSet();
ds.ReadXml(new XmlNodeReader(xdoc));
XmlDocument to DataSet in two lines. This is the quickest conversion I've found so far.
XmlDocument xdoc = MethodReturnsXmlDocument();
// convert to DataSet
DataSet ds = new DataSet();
ds.ReadXml(new XmlNodeReader(xdoc));
Hi, I'm Carl Camera. I'm a front-end web developer and designer.
I've been involved in web development since 1996 helping to launch some of the earliest web applications. Nowadays I oversee development of large websites that are viewed more than ten million times daily.
I think websites should be easy to understand and use. If a website is a source of frustration, it is both a user interface (UI) and user experience (UX) failure. This blog has been created to further the craft of web design and user interaction.
As screen resolutions become denser, websites face the challenge of filling pixels without wasting bandwidth.
What you're seeing here are two images specifically tailored both to the size of the slot they are to fill, and the pixel density of the screen in front of you. The dimensions of the images delivered are shown in the second slot. You can alter the image dimensions by resizing your desktop browser or by turning your phone or tablet sideways and refreshing the page.
All images of the photograph are generated from single full-resolution 7712×4352 pixel image – Two megabytes in size. Read more...
Copyright © 2005–2024 Carl Camera. All rights reserved. View more of my work at Vine Branches.
Comments