data exchange, functions, 124–127
data members, structs, 103
Data menu, Data Source Configuration Wizard, 836
Data Source Configuration Wizard
Choose Data Source Type dialog, 833
connections, saving, 834
Data menu, 836
discussed, 614, 832
data storage, variables and, 34
data tier, multitier applications, 773
DataAdapter object, 775
DatabaseColumn attribute, 910, 912–914
databases
assemblies, 829
connections, 826–829
functions, 829
rows
adding, 794–797
deleting, 801–803
finding, 798–801
stored procedures, 829
synonyms, 829
tables, 829–832
types, 829
updates, 790–794
views, 829
DatabaseTable attribute, 910, 912
DataGridView object
controls, 844
database connections, 841
discussed, 840
formatting, 842–843
DataList data control, 613
DataReader object
overview, 775
reading data with, 779–783
DataRelation object, 776, 804
DataRow attribute, 915
DataSet object
columns, rows, and tables, 786–787
Fill() method, 786
overview, 776
reading data with, 787–788
DataTable object, 776
DCE-RPC (Distributed Computing Environment-Remote Procedure Calls), 654
DCOM (Distributed COM), 654–655
DDE (Dynamic Data Exchange), 853
Debug toolbar, 161–162
Debug.Assert() function, 165
debugging
break mode
assertions, 165
Autos tab, 167
breakpoints, 162–164
entering, 161–162
line-by-line execution, 169
Locals tab, 167
Step Into icon, 169
Step Out icon, 169
Step Over icon, 169
unhandled exceptions, 165
variable content, monitoring, 166–169
Watch tab, 167
nonbreak mode
compilation and runtime information, 153
Debug.WriteIf() function, 158
Debug.WriteLine() function, 153–154, 158
Debug.WriteLineIf() function, 158
diagnostic output, 161
logging files, 153
Output window, 153
overview, 152
tracepoints, 159–161
Trace.WriteIf() function, 158
Trace.WriteLine() function, 153–154
Trace.WriteLineIf() function, 158
symbolic information, 152
user controls, 483–484
DebugOnly() method, 889
Debug.WriteIf() function, 158
Debug.WriteLine() function, 153–154, 158
Debug.WriteLineIf() function, 158
decimal representation, bitwise operators, 62
decimal type, 36, 41
declaration, XML, 744
declaring
arrays, 106–107, 112
delegates, 146–148
variables, 34, 42–43
decrement (--) operator, 45
deep copying, 234, 292–295
default constructors, 187, 214
default dialogs, User Interface Editor, 564–565
default keyword, generic classes, 347–348
DefaultDocument property, 693
DeflateStream class, 703
Delegate value, attribute targets, 905
delegates
anonymous methods as, 379
declaring, 146–148
function reference assignment, 148
generic classes, 360
Delete() method, 704, 801
deleting
breakpoints, 164
rows from databases, 801–803
XML nodes, 761–762
delimited files, 719–721
deployment, Windows applications
Cab Project template, 548
ClickOnce, 536–539
IIS (Internet Information Services), 683–687
Merge Module Project template, 548
overview, 535
permission requirements, 538
project types, 548
Setup Project template, 548
Setup Wizard, 548
Smart Device Cab Project template, 548
updates, 546–547
Web Setup Project template, 548
derived classes, 191
<description> element, 931
Description property, 532, 561–562, 665
design goals, ADO.NET, 773–774
Design View, Windows Forms applications, 26
destructors
Finalize() method, 214–215
objects and, 187
DetailsView data control, 613
DetectUrls property, 419
diagnostic output, tracepoints, 161
dialog-based applications, 466
dialogs
Add Connection, 827
Choose Data Source, 826, 833
CommonDialog class, 490–491
Configuration Data Source, 614–616
Connection Properties, 828
defined, 489
directory specification, 493–494
existing files, overwriting, 506
file, 492
file extensions, 505
file filters, setting, 494–495
help options, 495
HelpRequest() method, 490
how to use, 491–492
Insert Table, 627
New Web Site, 624
OpenFileDialog class, 492
Options, Visual Studio, 31
Reset() method, 490
results, 496
SaveFileDialog class, 492, 505–508
ShowDialog() method, 490
titles, 493, 505
User Interface Editor, 564–566
validation, 495, 505
Dictionary<K, V> object, 343–344
directories
Application_Data, 608
CreateDirectory() method, 704
directory specification, dialogs, 493–494
FillDirectoryList() method, 970
Directory class, 704
Directory property, 706
DirectoryInfo class, 706–707
DirectoryName property, 706
Disconnect() function, 373
Disk Cost button, Simple Editor application, 572
DisplayFixes() method, 909
DisplayMessage() method, 375, 378
disposable objects, 190, 983–984
Dispose() method, 190, 983–984
Distributed COM (DCOM), 654–655
Distributed Computing Environment-Remote Procedure Calls (DCE-RPC), 654
division (/) operator, 44
DLL (Dynamic Link Library), 851, 853
DNS (Domain Name System), 956
do loops, flow control, 76–79
Dock property, 393, 395
Document Object Model (DOM), 751–752
Document property, 522
Document Type Definitions (DTDs), 746
documentation, XML
application example, 943–945
basic documentation example, 928–929
<c> element, 930, 932
class diagrams, 937–939
<code> element, 930, 932
<description> element, 931
element descriptions, 930–931
<example> element, 931, 934
<exception> element, 931, 936
file generation, 940–943
<include> element, 931, 936
<item> element, 931
<list> element, 931, 933
<listheader> element, 931
NDoc third-party tool, 949
<para> element, 931–932
<param> element, 931, 934
<paramref> element, 931–932
<permission> element, 931, 935
processing, 946–948
<remarks> element, 931, 934
<returns> element, 931, 935
<see> element, 931–932
<seealso> element, 931–932, 936
structural elements, 934–937
style sheets, 948
<summary> element, 931, 934
<term> element, 931
text formatting elements, 931–934
<typeparam> element, 931, 934
<typeparamref> element, 931–932
<value> element, 931, 935
DOM (Document Object Model), 751–752
Domain Name System (DNS), 956
double quotation mark ("), 37, 41
double type, 36, 41
double-buffering, 1001, 1008–1009
DoubleClick event, 396
DoubleClickEnable property, 464
DownloadData() method, 962
DownloadFile() method, 962
DownloadString() method, 962
DragDrop event, 396
DragEnter event, 396
DragLeave event, 396
DragOver event, 396
Draw() method, 864
DrawImage() method, 1004
DrawLine() method, 987
DrawPath() method, 988
DrawString() function, 1001
DropDownItems event, 455
DropDownList control, Web programming, 588
DTDs (Document Type Definitions), 746
Dynamic Data Exchange (DDE), 853
Dynamic Link Library (DLL), 851, 853