data access component, 369–370
constructors, 370–371
methods
ExecSp, 382–383
ExecSpOutputValues, 383–384
ExecSpReturnDataReader, 380–381
ExecSpReturnDataSet, 373–380
ExecSpReturnXmlReader, 381–382
properties, 371–372
stored procedure XML structure, 372
Data property, XmlException class, 413
DataAdapter object
BuildSqlCommand method, 355
DeleteCommand property, 354
Fill method, 354
GetPubsConnection method, 356
InsertCommand property, 354
SelectCommand property, 354
Update method, 355
UpdateCommand property, 354
databases
creating, 1033–1034
populating, 1035
DataBinding event, 737
data-driven applications, ASP.NET, 774
GridView control, 775–778
records, editing/deleting, 778–782
SqlDataSource control, 775–778
DataGrids, binding to, DataSet objects and, 384–388
DataReader object, 350–352
DataSet integration, 365–366
DataTable integration, 365–366
DataRelationCollection, 359–360
DataSet class
ADO.NET
methods, 433
properties, 433
XmlDocument, loading, 420
DataSet objects
ADO.NET 2.0, 364–366
binding to DataGrids, 384–388
creating objects, 361–363
creating programmatically, 362–363
DataReader integration, 365–366
DataRelationCollection, 359–360
DataTableCollection, 359
ExtendedProperties, 360
indexing, 364
serialization, 364–365
using, 361–363
DataTable objects
ADO.NET, 363–364
ADO.NET 2.0, 364–366
DataReader integration, 365–366
independence, 366
indexing, 364
serialization, 364–365
DataTableCollection, 359
datatypes
Boolean, 25
Byte, 25
Char, 25
CLR and, 211–212
compiler options, 48–51
conversions
explicit, 51–54
implicit, 48–51
Option Compare setting, 50
Option Explicit setting, 50
Option Strict setting, 50
Parse method, 53
TryParse method, 53
CTS (common type system), 212
CType method, 54
Date, 25
Decimal, 25
DirectCast method, 54
Double, 25
Integer, 25
Long, 25
Object class and, 22
primitive, 24–26
Short, 25
Single, 25
String, 25
TryCast method, 54
virtual methods, 127
Date datatype, 25
DateTime type, 33
DateTimePicker control, 640
DBNull class, 37–38
DbProviderFactory, 366
CreateConnection method, 367
GetFactory method, 367
DCOM (Distributed COM), 874, 960–961
Debug object
Assert method, 334
Close method, 334
Fail method, 334
Flush method, 334
methods, 334
Write method, 334
WriteIf method, 334
WriteLine method, 334
WriteLineIf method, 334
debugging, 313
SQL/CLR, 568
Decimal datatype, 25
Decimal decimal type, 30
decimal types, 30
decimal, 32
double, 32
single, 31
declarations, fully qualifying, 295
declarative security, Permview utility, 469
DeclaringType property, 216
default interop assembly, 880
Default keyword, 83
default property, 83–84
DefaultValue attribute, 652–653
Delay activity, 943
delegates
datatype, 107–108
declaring, 106–107
methods, implementation, 108–111
thread pool, 910–912
Delete method, 332
DeleteCommand attribute, 781
DeleteCommand property, 357
DeleteEventSource method, 332
Demand method, 451
Demanded property, SecurityException class, 476
Deny method, 451
Windows Forms permissions, 457
DenySetInstance property,
SecurityException class, 476
deployment, 210–211, 829
ClickOnce, 831
Internet, 859–860
ClickOnce deployment, 861–871
no-touch deployment, 860–861
Updater Application Block, 871–872
Windows Installer, 831
XCOPY, 830–831
deployment projects, Visual Studio
ASP.NET Web applications, 839–840
creating, 833–840
Custom Actions Editor, 854–856
File System Editor, 843–844
AlwaysCreate property, 847
Common Files folder, 845
Condition property, 847
DefaultLocation property, 847
Fonts folder, 845
Global Assembly Cache folder, 846
items, adding, 844
Program Files folder, 845
Property property, 847
shortcuts, 847–848
special folders, adding, 845–847
System folder, 845
Transitive property, 847
User’s Application Data folder, 845
User’s Desktop folder, 845
User’s Personal Data folder, 846
User’s Programs Menu, 846
User’s Send To Menu, 846
User’s Start Menu, 846
User’s Startup folder, 846
User’s Template folder, 846
Windows folder, 846
File Types Editor, 850–851
Launch Conditions Editor, 856–859
primary output properties, 838
project output, 835–836
properties, 841–843
Build page, 841–843
Registry Editor
files, importing, 850
keys, adding value, 848–850
root setup node properties, 836–838
User Interface Editor, 851–852
dialog box order, 853
dialog box properties, 854
dialog boxes, adding, 853–854
installation modes, 852
walk-through, 834–839
dereferencing objects, 68
Description attribute, 654
Deserialize() method, overriding, 395
destructors, 222
dialog boxes
AllowFullOpen property, 636
Color property, 636
Filename property, 635
Filter property, 635
FilterIndex property, 635
FixedPitchOnly property, 636
Font property, 636
InitialDirectory property, 635
properties, 635
RestoreDirectory property, 635
ShowColor property, 636
ShowDialog property, 635, 636
ShowEffects property, 636
DialogResult property, 612–613
digital signatures, hash algorithms, 492–495
Dim keyword, 22
DIME (Direct Internet Message
Encapsulation), 1094–1095
DirectCast function, 71–72
DirectCast method, 54
directives, ASP.NET 2.0
Assembly, 736
Control, 736
Implements, 736
Import, 736
Master, 736
MasterType, 736
OutputCache, 736
Page, 736
PreviousPageType, 736
Reference, 736
Register, 736
Discovery, 957
Disposed event, 737
Distributed Applet-Based Massively Parallel Processing, 962
Distributed Object Invocation Meets the World Wide Web, 962
DNS (Domain Naming System), 1059
Do Until statement, 59
Do While statement, 59
Document Object Model. See DOM
DOM (Document Object Model)
compared to SQL Server for XML, 420
System.Xml namespace, 418–420
traversing XML, 420–423
traversing XML attributes, 423–425
DomainUpDown control, 640
DOM-based XML document generation, 399, 419
DoSomething method, 63–64
Double datatype, 25
Double decimal type, 30
downloading, Web pages, 1153
DSACryptoServiceProvider class, 488
durability, ACID test, 1030