
Index ■Special Characters data adapter objects, 811–12 #elif, preprocessor directive, 317–18 data providers overview, 759–62 #else, preprocessor directive, 317–18 data wizards, 822–25 #endif, preprocessor directive, 317–18 DataColumn objects, 796, 798 #endregion, preprocessor directive, 317 DataRelation objects, 817–20 #if, preprocessor directive, 317–18 DataRow objects, 798–99, 801 #region, preprocessor directive, 317 DataRow.RowState property, 799–800 #undef, preprocessor directive, 317–19 DataSet class, 794–96 & operator, pointer types, 312–13 datasets in XML web services, 950 * operator, pointer types, 312–13 DataTable objects, 800 ?? operator, 133 DataTableReader objects, 802 += operator, 610 DataView objects, 810 <%@Page%> directive, ASP.NET, 846 DbDataReader object, 782–83 <%Import%> directive, ASP.NET, 846–47 definition, 759–60 ? suffix, nullable types, 131 deleting records, 787 deleting rows, 806–7 ■A disconnected layer, 793 A# programming language, 8 example database, 775 Abort( ) method, Thread type, 460 example, data provider factory, 772–74 abstract base classes contrasted with interfaces, filling DataSet, 812 224 filters, 807–8 abstract classes, 16, 164–65, 166 Firebird Interbase data provider, 763 abstract members (interface), 221 IBM DB2 Universal Database data providers, abstract methods, 166–69 763 AcceptChanges( ), RejectChanges( ) methods, IDbCommand interface, 766 ADO.NET, 795–98 IDbConnection interface, 765 AcceptsReturn property, Textbox, 705 IDbDataAdapter, IDataAdapter interface, 767 access modifiers, 76–78 IDbDataParameter, IDataParameter Add Reference dialog box, 356, 359–60 interface, 766 AddCacheDependency( ) method, ASP.NET IDbDataReader, IDataReader interface, HTTP Response, 860 767–68 adding controls, ASP.NET, 869–70 IDbTransaction interface, 765 AddRange( ) method, ControlCollection, 702 inserting records, 786 ADO.NET mapping DBMS names, 813 additional namespaces, 763–64 Microsoft data providers, 762–63 vs. ADO classic, 759–60 modifying tables, Command object, 784–86 application configuration files, 769–70 multiple result sets, DbDataReader object, asynchronous data access, 792–93 784 autogenerated data components, 824–25 multitabled DataSet objects, 817–20 autogenerating SQL commands, 816–17 MySQL data providers, 763 autoincrementing, 797 navigating between related tables, 820–21 binding DataTables to user interfaces, 804, 806 overview, 759 Command object, 781–82 parameterized command objects, 788 connected layer, 778 persisting datasets as XML, 803 connected vs. disconnected layer, 760 PostgreSQL providers, 763 connecting to database, Visual Studio 2005, provider factory model, 770–72 776 sort order, 807–8 connection objects, 779–80 specifying DbParameter parameters, 788–90 ConnectionStringBuilder object, 780–81 stored procedures using DbCommand, connectionStrings element, application 790–91 configuration, 774–75 strongly typed datasets, 823–24 955 956 ■INDEX System.Data, 764 notepad.exe development editor, 33 third-party data providers, 763 overview, 33 updating records, 787 SharpDevelop, 33 updating rows, 809 TextPad development editor, 41 updating using data adapter objects, 813–15 Visual C# 2005 Express, 33 using interfaces, 768–69 application domain, garbage collection, 188 view objects, 810 application level state data, ASP.NET, 898–99 AdRotator example, ASP.NET, 874 Application, Page Type properties, 856 AllKeys property, ASP.NET HttpApplicationState Application property, WebService base class, members, 898 929 AllowDBNull property, ADO.NET DataColumn application root categories, 182–83 object, 796 application shutdown, ASP.NET, 900 AnchorStyles enumeration values, 755 Application_End( ), Global.asax event handlers animation in controls, 743 in ASP.NET, 896 anonymous methods Application_Error( ), Global.asax event handlers description, 282 in ASP.NET, 896 example, 283–84 Application_Start( ), Global.asax event handlers App_Browsers, ASP.NET 2.0 subdirectories, 851 in ASP.NET, 896 App_Code, ASP.NET 2.0 subdirectories, 851, 853 ApplicationExit event, Application class, 609 App_Data, ASP.NET 2.0 subdirectories, 851 ApplicationId, RemotingConfiguration, 580 App_GlobalResources, ASP.NET 2.0 ApplicationName, RemotingConfiguration, 580 subdirectories, 851 applications vs. sessions, ASP.NET, 897 App_LocalResources, ASP.NET 2.0 appSetting element, Web.config, ASP.NET, 912 subdirectories, 851 array types, 127–28 App_Themes, ASP.NET 2.0 subdirectories, 851 ArrayList System.Collections class type, 250–51 App_WebReferences, ASP.NET 2.0 arrays subdirectories, 851 jagged, 129–30 AppDomains multidimensional, 128 advantages, 435 as parameters and return values, 128 creation example code, 437 using interface types in, 228 loading example code, 438 in XML web services, 949 manipulation example code, 436–37 as keyword overview, 425 determining interface support, 225 relationship to processes, 435 determining type, 172 thread relationship, 449 ASP.NET unloading example code, 439–40 <%@Page%> directive, 846 AppendText( ) method, FileInfo class, <%Import%> directive, 846–47 System.IO, 526, 528–29 adding and removing controls, 869–70 Application, ASP.NET HttpApplication AdRotator example, 874 members, 897 AutoEventWireUp attribute, 862–63 application cache, ASP.NET, 901 AutoPostBack property, 866 Application class browser statisics in HTTP Request ApplicationExit event, 609 processing, 858 CompanyName property, 609 categories of web controls, 871–72 DoEvents( ) method, 609 classic ASP, 838, 840 EnableVisualStyles( ) method, 609 client-side scripting, 836 ExecutablePath property, 609 client-side scripting example, 836–37 Exit( ) method, 609 code-behind, description, 842 Idle event, 609 code-behind page model, 847–49 ProductName property, 609 compilation cycle ProductVersion property, 609 multifile pages, 854–55 StartupPath property, 609 single-file pages, 853–54 ThreadExit event, 609 debugging and tracing, 849–50 Application class, System.Windows.Forms, 606 default.aspx content page example, 875–76 application configuration files, ADO.NET, detailed content page example, 881–83 769–70 Document Object Model (DOM), 836 application development Emitting HTML, 860 cordbg.exe debugger, 33, 40–41 enumerating controls with Panel control, csc.exe compiler, 33–36 867–68 .NET 2.0 Framework SDK, general guide, 33 Error event, 863–64 ■INDEX 957 form control declarations, 847 assemblies GET and POST, 837–38 Add Reference dialog box, 356, 359–60 HTML app.config file, 368 document structure, 833 binary code reuse, 347 form development, 833 CIL code, 351, 358 overview, 832 client application example, 359–60 web controls, 871 CLR file header, 350–51 HTTP code base config file element, 385, 387 overview, 829–30 code library, 347 Request members, 857 compared with legacy executables, 347 Request processing, 857–59 consuming shared assemblies, 376–77 Response members, 860 cross-language inheritance, 362 Response processing, 859–61 definition, 347 IIS virtual directories, 831 delayed digital signing, 375–76 incoming form data, 858–59 dependentAssembly config file element, 381–82 inheritance chain, page type, 855–56 download cache, 352 in-place editing example, 879–80 dynamic redirection to a specific version, Internet Information Server (IIS), 381–82 description, 830 embedded resources, 352 inventory content page example, 877–78 example of version updating, 379–82 IsPostBack property in HTTP Request explicit load request, 366, 368 processing, 859 flow of CLR external reference resolution, 388 life cycle of web page, 861–63, 865 global assembly cache (GAC), 25, 348 master pages example, 872–73 ildasm exploration of manifest, 357 menu control example, 873 implicit load request, 366, 368 overview, 829 internal format, 349 page type inheritance chain, 855–56 language integration, 360, 362, 364–65 redirecting users, 861 manifest, 348, 351, 357 request/response cycle, HTTP, 829 manifest description, 11 round-trips (postbacks), 836 metadata description, 10 runat attribute, 847 module-level manifest, 364 script block, 847 modules, 11, 352 server-side event handling, 865 multifile, 352, 362–65 simple web controls, 871 .NET Framework Configuration utility, simple website example, 872–75, 877–83 369–70, 382 single file code model, 842–43 netmodule file extension, 352, 362–64 sorting and paging example, 878–79 overview, 10, 347 stateless, description, 830 private, 365–66, 368 submitting form data, 837–38 probing process, 366, 368 System.Web.UI.Control, 866–67, 869–70 publisher policy assemblies, 384–85 System.Web.UI.Page, 856 referencing external, 25 System.Web.UI.WebControls namespace, and resource files, 693 865–66 satellite assemblies, 352 System.Web.UI.WebControls.WebControl, self-describing, 348 870 shared assemblies, 371 user interface in HTML, 834–35 configuration, 378–79 using web controls, 865–66 and the GAC, 374 validating form data, 837 shared assembly manifest, 378 validation controls, 883, 885–88 single-file, 352 version 1.x benefits, 840 example, 354–56 version 2.0 benefits, 841 vs. multifile, 11 version 2.0 namespaces overview, 841 strong names, 348, 357, 371, 373–74 web application, description, 830 assigning using Visual Studio 2005, 374 web development server, 832 code example, 373 web page code model, 842–46 type metadata, 348, 351, 358 web server, description, 830 updating applications using shared WebControl base class properties, 870–71 assemblies, 378–79 website directory structure, 851 version number, 348 ASP.NET 2.0 namespaces, 842 Visual Studio 2005 configuration, 368 ASP.NET 2.0 subdirectories, 851–53 Win32 file
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages28 Page
-
File Size-