By: Paul D. Sheriff or SESSION CODE: DEV320
VB.NET Dim menu = _ New XDocument( _ New XDeclaration("1.0", "utf-8", "yes"), _ New XComment("Prototype Menus"), _ New XElement("Menus")) C# var menu = new XDocument( new XDeclaration("1.0", "utf-8", "yes"), new XComment("Prototype Menus"), new XElement("Menus"));
VB.NET Dim menu = _ New XDocument( _ New XDeclaration("1.0", "utf-8", "yes"), _ New XComment("Prototype Menus"), _ New XElement("Menus", _ New XElement("Menu", _ New XElement("MenuID", "10"), _ New XElement("DisplayOrder", "10"), _ New XElement("MenuText", "Home") _ )))
VB.NET Dim menu = _ 10 Home NextPage.aspx
VB.NET From in _ Where _ Order By [Ascending | Descending] Select [ = ], [ = ] … C# from in where orderby [ascending | descending] select, …
VB.NET Dim menus = From mnu In xElem. _ Where mnu..Value = "" _ Select mnu C# var menus = from mnu in xdoc.Descendants("Menu") where mnu.Element("ParentMenuID").Value == "" select mnu;
Dim db As New NorthwindDataContext Dim products = <%= From prod In db.Products _ Select %>
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year