Pro ASP.NET 2.0 In CSharp 2005 (2005) [eng]
.pdf
■I N D E X 1221
handling extra options with |
limits of |
SqlDataSource, 333 |
adding extra items, 332–33 |
overview, 331–32 |
overview, 331–32 |
ObjectDataSource |
overview, 309 |
overview, 323 |
data types, 5, 234 |
selecting records, 324–28 |
data binding format string, 340–41 |
updating records, 328–29 |
state management options, 196 |
updating with a data object, 329–31 |
Data Utility class, 268–74 |
SqlDataSource |
DataAdapter class, 230, 279–80, |
disadvantages of, 322–23 |
data binding, 287 |
error handling, 318 |
filling DataSet, 280–82 |
overview, 311 |
overview, 280 |
parameterized commands, 314–17 |
searching for specific rows, 286 |
selecting records, 312–14 |
working with multiple tables and |
updating records, 318–22 |
relationships, 282–85 |
and XML |
databases, and ADO.NET architecture, 230–32 |
binding XML content from other sources, |
DataBind( ) method, 106, 290, 296, 298, 304, |
463 |
306, 916, 935–36, 1062, 1068, 1116 |
hierarchical binding with TreeView, |
DataBinder class, 361, 369 |
459–61 |
DataBound event, GridView control, 376–77 |
nested grids, 458–59 |
DataColumn object, DataTable, 279, 283, 292 |
nonhierarchical binding, 453–55 |
data-definition, 240 |
overview, 453 |
DataField property, 338, 350 |
updating XML through XmlDataSource, |
DataFormatString property, 338–40, 343 |
464 |
DataGrid control, 127, 361, 378, 982 |
using XPath, 455–57 |
AllowPaging property, 356 |
using XSLT, 461–63 |
binding DataReader to, 246 |
data binding expression, 296–98 |
CurrentPageIndex property, 356 |
data caching |
PagerStyle property, 356 |
adding items to the cache, 402–4 |
PageSize property, 356–57 |
cache priorities, 405–6 |
DataGrid object, 483–88 |
with data source controls, 406–7 |
DataGridView control, 535 |
with ObjectDataSource, 409 |
DataItem property |
with SdlDataSource, 406, 408–9 |
Container class, 361 |
overview, 392, 401–2 |
GridViewRow class, 344 |
simple cache test, 404–5 |
DataKeyFields property, 321 |
data components |
DataKeyName property, 320 |
building data access component |
DataKeyNames collection, 348 |
Data package, 267 |
DataKeyNames property, GridView control, 320, |
Data Utility class, 268–74 |
329, 347, 747 |
overview, 265–66 |
DataList control, 335, 513, 1030–33 |
stored procedures, 267–68 |
DataMember property, 128 |
testing the components, 274–75 |
DataObjectTypeName property, 329 |
Web applications and DataSet, 277–78 |
DataReader class, 230, 240–53, 276, 279, 357, |
data controls, 104 |
408, 581 |
Data Definition Language (DDL), 716 |
binding to, 305–6 |
Data Encryption Standard (DES), 161, 843–44 |
and ExecuteReader( ) method, 242–46 |
Data package, 267 |
CommandBehavior, 244 |
Data property, 587 |
overview, 242–43 |
Data Protection API (DPAPI), 175, 645, 850–52, |
processing multiple result sets, 244–46 |
855–56, 861, 863–64 |
DataRelation object, 283–85, 293 |
data source caching, 392 |
DataRow class, 1078 |
data source controls |
DataRow object, 278–80, 282, 284, 823 |
ASP.NET 2.0, 17–19 |
DataRowView control, 346 |
data caching with, 406–7 |
DataSet class, 279, 357, 361, 408–9, 413, 581, |
ObjectDataSource, 409 |
1066, 1073, 1168, 1171 |
SdlDataSource, 406, 408–9 |
DataSet control, 351–52 |
■I N D E X 1223
design-time attributes, 942–46 |
DisplayCancelButton property, Wizard control, |
attributes and inheritance, 945–46 |
563, 565 |
overview, 942 |
DisplayMode property, 142, 1051, 1053, 1070 |
Properties window, 942–45 |
DisplayModes property, 1052 |
Toolbox icon, 946 |
DisplayRememberMe property, 728 |
overview, 941 |
DisplaySideBar property, Wizard control, 560 |
smart tags |
DisplayTitle property, WebPart class, 1056 |
ActionList class, 969–70 |
Dispose( ) method, 326, 1018 |
ControlDesigner, 972–73 |
Dispose event, 191, 237 |
DesignerActionItem collection, 971–72 |
Disposed event, 80, 158 |
overview, 968 |
Distributed COM (DCOM), 1090–91 |
Web resources, 947–49 |
<div> tag, 546, 549 |
DestinationPageUrl property, 728 |
DLL (Dynamic Link Library), 153, 185, 509, 620, |
DetailsView control, 307, 327, 334–35, 372–74, |
849, 978, 1062, 1076, 1171 |
377, 385–89 |
dllhost.exe process, 624, 626 |
Development Helper, ASP.NET, 59–61 |
DNS name, 91 |
DHTML (Dynamic HTML), 977 |
DOCUMENT object, 527, 530 |
DHTML (Dynamic Hyper Text Markup |
Document Object Model (DOM), 995 |
Language), 1003–4, 1053 |
document structure, 430 |
dictionary collections, 89, 198, 223 |
document type definitions, 74 |
DictionaryEntry class, 404 |
document vocabulary, 430 |
Digest authentication, 676, 753–55 |
Document Window, 35 |
Direction property, WebPart class, 1056 |
document window, Visual Studio IDE, 37 |
directories. See also virtual directories |
DOM (Document Object Model), 995 |
getting, 90 |
domain option, 697 |
permissions, 474 |
domain option, <roleManager> configuration |
Directory class, System.IO, 472, 477–78 |
tag, 790 |
Directory classes. See File and Directory classes |
<domain> parameter, Wsdl.exe, 1108 |
Directory object, 472–73, 480 |
domains, application, 152–53 |
Directory property, FileInfo class, 476 |
DPAPI (Data Protection API), 175, 645, 850–52, |
directory separation character (\), 474 |
855–56, 861, 863–64 |
DirectoryInfo class, System.IO |
DPAPI (Windows data protection API), 839 |
creating objects, 476 |
DrawArc method, 1020 |
methods, 475, 478 |
DrawClosedCurve method, 1020 |
properties, 475, 478 |
DrawCurve method, 1020 |
retrieving information about files, 472 |
DrawEllipse method, 1020 |
DirectoryInfo object, 472, 474–76, 480, 484–85, |
DrawIcon method, 1020–21 |
1032 |
DrawIconUnstretched method, 1020 |
DirectoryName property, FileInfo class, 476 |
DrawImage method, 1020–21 |
Disabled HtmlControl property, 107 |
DrawImageUnscaled method, 1020 |
Disabled property, HTML server controls, 107 |
drawing dynamic graphics, with GDI+, 1018–19 |
DISCO standard, 1094–95 |
Drawing namespace, colors, 120 |
disconnected data, 278–80, 282, 285, 290 |
DrawLine method, 1020 |
data model, 229 |
DrawLines method, 1020 |
DataAdapter class, 280 |
DrawPath method, 1021, 1023 |
DataSet classes, 278–80 |
DrawPie method, 1021 |
DataView class |
DrawPolygon method, 1021 |
advanced data filtering with relationships, |
DrawRectangle method, 1021 |
292 |
DrawRectangles method, 1021 |
calculated columns, 294 |
DrawString method, 1018, 1021, 1035 |
data filtering with, 290 |
DropDownList control, 127, 302, 331–32, 368, |
overview, 265, 276 |
519 |
discovery, 1094–95 |
Duration attribute, OutputCache directive, 393 |
disk output cache, 392 |
dynamic control creation, 87–88 |
DiskCacheable attribute, 401 |
dynamic graphics with GDI+, 1017–42 |
Display property, BaseValidator Class, 136 |
charting with GDI+, 1037–42 |
1226 ■I N D E X
FileName property, 890 |
FontUnit type, 121 |
filenames, unique, 494–97 |
FooterRow property, GridView control, 375 |
files |
FooterStyle property, 338 |
retrieving file size, 474 |
FooterStyle style, 341 |
retrieving information about, 472, 474 |
FooterTemplate mode, 363 |
source-code. See source-code files |
FooterTemplate template, 374 |
FileStream class, 498, 800, 847, 1165 |
FooterText property, 338 |
FileStream constructor, 488, 494 |
FOR XML AUTO, ELEMENTS query, 469 |
FileSystemInfo object, 475, 484 |
FOR XML AUTO query, 468 |
FileUpload control, 1049 |
FOR XML clause, 468 |
FileUpload.PostedFile.InputStream property, |
ForeColor property, Web Form controls, 117 |
493 |
Form property, HttpRequest class, 90 |
FileVersionInfo object, 480–81, 488 |
form tags, 66, 69, 85, 119 |
FillClosedCurve method, 1021 |
Format property, 510–11 |
FillEllipse method, 1021 |
formatting |
FillPath method, 1021, 1023 |
format strings, 340–41 |
FillPie method, 1021 |
and master pages, 549 |
FillPolygon method, 1021 |
for websites, standardizing, 525–28. |
FillRectangle method, 1017–18, 1021 |
See also themes |
FillRectangles method, 1021 |
Formatting property, 432 |
FillRegion method, 1021 |
<forms /> tag, 697, 699, 704 |
FillSchema( ) method, DataAdapter class, 280 |
forms authentication, 19, 162, 671. See also |
<FilterParameters> section, 408 |
login page, custom, creating |
filters, ISAPI, 184 |
advantages, 690–91 |
FindAll( ) method, 888 |
classes, 694 |
FindControl( ) method, 88, 106, 144, 518, 732, |
configuring, 713–14 |
738–39, 1005 |
credentials store in web.config, 697–98 |
HTML server controls, 106 |
overview, 695–97 |
MasterPage class, 551 |
creating custom login page, 698–702 |
FindInactiveProfilesByUserName( ) method |
cookieless forms authentication, 704 |
ProfileManager, 819 |
hashing passwords in web.config, 703 |
ProfileProvider, 831 |
logging out, 702–3 |
FindProfilesByUserName( ) method |
custom credentials store, 704–5 |
ProfileManager, 819 |
denying access to anonymous users, 698 |
ProfileProvider, 830 |
disadvantages, 692–93 |
FindSiteMapNode( ) method, SiteMap control, |
overview, 689–90 |
575 |
persistent cookies in, 705–6 |
FindUsersByEmail( ) method, 888 |
why to not implement yourself, 693–94 |
FindUsersInRoles( ) method, 893 |
Forms collection, 65, 95 |
FinishButtonClick event, 563–64, 743 |
<forms> element, 705 |
FinishNavigationTemplate style, 566 |
FormsAuthentication class, 694, 699, 702 |
FinishPreviousButtonStyle style, 565 |
FormsAuthenticationEventArgs class, 694 |
firehose cursors, 241 |
FormsAuthenticationModule class, 694–95 |
FirstDayOfWeek property, Calendar control, 148 |
FormsAuthenticationModule module, 684 |
FirstPageImageUrl property, 360 |
FormsAuthenticationTicket class, 694 |
FirstPageText property, 360 |
FormsIdentity class, 694 |
Fixed Decimal data type, 340–41 |
FormsView control, 560 |
Focus( ) method, 122–23 |
FormView control, 307, 334–35, 374, 389 |
folders |
forward slash (/) character, XPath expression, |
settings, 637–40 |
443 |
and themes, 529–30 |
fragment caching (partial caching), 392, 398, |
Font property |
522 |
FontInfo object, 121 |
frames, JavaScript, 1006–9 |
Web Form controls, 117 |
frame navigation, 1007–8 |
WebServer class property, 117, 121 |
inline frames, 1008–9 |
FontInfo object, 955, 1018 |
overview, 1006–7 |
Fonts property, 121 |
Frames property, 912 |
