422Microsoft Visual Studio 2010: A Beginner’s Guide

LINQ projections, 198–199 LINQ to SQL, 200–214

creating items, 305 deleting data, 212–214 inserting data, 210–211 multiple tables, 205–210 overview, 200 querying, 203–210 setting up, 200–201 updating data, 211–212 WPF applications, 246–247

LINQ to SQL Designer, 200–203 LINQ to SQL Wizard, 200, 205 ListBox control, 241–243

lists, generic, 109–110 local variables, 81

Locals window, 160–161, 162 log files, 7, 166

loops, 61–66 endless, 157 for, 61–64 while, 64–65

M

Macro Editor, 365–370, 374, 380 Macro Explorer, 364–365 macros, 134, 342, 360–370 Main method, 40–41, 49, 120 manifest, 120–121

Manifest setting, 118, 120–121 markup extensions, 414–416 MasterPages, 257–260, 270, 273 mathematical operators, 54 McGraw-Hill Web site, 103 member locators, 44 Memory window, 173

menu bar, 14–15 method results, 78–80

methods, 72–80.See also specific methods

adding parameters to, 75–78 calling, 72–75

declaring, 72–75 delegates. See delegates events. See events instance, 74–75 naming, 40–41, 231 overview, 72 private, 74

public, 74

returning values from, 78–80 shared, 74

snippets, 80 static, 41, 74 using, 72–75

Microsoft Developer Network (MSDN), 6, 326

Microsoft Office applications, 124 Microsoft Office projects, 34

Model View Controller. See ASP.NET MVC MSDN (Microsoft Developer Network), 6, 326

MVC objects, 250–254, 270–276. See also ASP.NET MVC

N

namespace snippet, 47–48 namespaces

assembly references and, 122 default, 116, 119, 328, 406 overview, 42–43

Root, 119 setting, 119 VB, 43 XML, 406–407

naming conventions, 40–43, 116, 231

.NET assembly references, 123–124

.NET CLR. See CLR

.NET Framework, 38, 90, 119, 124, 320

.NET Framework Class Library, 13

.NET types, 53–54

New Project window, 37, 115–116 New Project Wizard, 39, 253 null events, 93

null reference exceptions, 93, 175–179 null values, 176–179

O

object collections, 194–197 objects

COM, 124 creating, 139 debugging and, 148 instantiating from classes, 69 MVC, 250–254, 270–276

Office applications, 124 Office project types, 124 Office projects, 34 OnConnection method, 384–391

OOB (Out-of-Browser) functionality, 294–297 operating systems. See specific Windows systems operators

immediate if, 55 mathematical, 54 ternary, 55, 57

optimization, 131 Options menu item, 15 Options window, 45, 46, 154–155 Other Windows menu item, 14

Out-of-Browser (OOB) functionality, 294–297 Output type, 119–120

Output Type setting, 118, 119–120

Page 445
Image 445
Microsoft 9GD00001 manual Methods, 72-80.See also specific methods