Download presentation
Presentation is loading. Please wait.
1
By: Paul D. Sheriff PSheriff@pdsa.com www.pdsa.com or www.PaulSheriffInnerCircle.com SESSION CODE: DEV320
6
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"));
7
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") _ )))
8
VB.NET Dim menu = _ 10 Home NextPage.aspx
12
VB.NET From in _ Where _ Order By [Ascending | Descending] Select [ = ], [ = ] … C# from in where orderby [ascending | descending] select, …
13
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;
18
Dim db As New NorthwindDataContext Dim products = <%= From prod In db.Products _ Select %>
35
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
36
www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn
38
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.