Professional ASP.NET 3.5 in C# and Visual Basic Part 124 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 11 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 11 docx

... = (string)runtime.GetType().InvokeMember("_shutDownMessage", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetField, null, runtime, null); string shutDownStack = (string)runtime.GetType().InvokeMember("_shutDownStack", BindingFlags.NonPublic ... _ GetType(System.Web.HttpRuntime).InvokeMember("_theRuntime", _ BindingFlags.NonPublic Or BindingFlags....

Ngày tải lên: 05/07/2014, 18:20

10 503 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 17 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 17 docx

... buttons being clicked? Through the value placed in the CommandName property. In this case, they are indeed separate values — DoSomething1 and DoSomething2 . The next step is to create the Button_Command event ... people intermingled quite a bit of JavaScript in their pages to fire JavaScript events when a button was clicked. The process became more cumbersome in ASP.NET 1.0/1.1, bu...

Ngày tải lên: 05/07/2014, 18:20

10 508 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 18 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 18 docx

... the ListItem instances in the collection and displays only the items that have been selected. This control works by creating an instance of a ListItem object and using its Selected property to see if a particular ... take multiple check boxes and create specific events for the entire group. Listing 3-13 shows an example of using the CheckBox control. Listing 3-13: Using a single instan...

Ngày tải lên: 05/07/2014, 18:20

10 363 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 62 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 62 docx

... physicalPath="C: \ inetpub \ wwwroot \ foo" /> </application> <bindings> <binding protocol="http" bindingInformation="192.168.1.12:80:" /> </bindings> </site> </sites> </system.applicationHost> </configuration> As ... IIS7 Figure 11-3 Command-Line Setup Options Windows Vista and Windows Server 2008 come with a...

Ngày tải lên: 05/07/2014, 18:20

10 278 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 72 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 72 docx

... 676 Chapter 14: Site Navigation Examining the Parts of the TreeView Control To master working with the TreeView control, you must understand the terminology used for each part of the hierarchical tree ... for working with them include terms such as RootNode , CurrentNode and ParentNode . Binding the TreeView Control to an XML File You are not limited to working with just a .sitemap file i...

Ngày tải lên: 05/07/2014, 18:21

10 279 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 79 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 79 docx

... within the machine.config file. The < profile > section includes a subsection listing all the providers available to the personalization engine. This is shown in Listing 15-23. Listing 15-23: ... added by using the < add > element. Within this element, the connectionStringName attribute points to what was declared in the < connectionString > attribute from Listing 15-22....

Ngày tải lên: 05/07/2014, 19:20

10 245 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 95 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 95 docx

... separate installation that you were required to install on your machine and the Web server that you were working with. This release gained in popularity quite rapidly and is now a part of the Visual ... offering. Not only is it a part of the Visual Studio 2008 IDE, the ASP.NET AJAX product is also baked into the .NET Framework 3.5. This means that to use ASP.NET AJAX, you...

Ngày tải lên: 05/07/2014, 19:20

10 268 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 103 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 103 docx

... are described in the following list: ❑ AutoSize — Defines how the control deals with its size expansion and shrinkage. The possible values include None , Fill ,and Limit .Thedefaultis None and when ... you to put instructions within controls for the end users, which gives them a better understanding of what to use the control for. This can be text or even images (when using CSS). Listi...

Ngày tải lên: 05/07/2014, 19:20

10 297 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 109 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 109 docx

... you are running ASP.NET 2.0 /3.5 and 1.1 on the same machine, all the states stored in Session objects for any and all versions of ASP.NET are kept together in a single instance of the ASP.NET State ... tracing is enabled, and the tracing output is sent directly to the page. More details on tracing and debugging are given in Chapter 24. For now, make t his change and re...

Ngày tải lên: 05/07/2014, 19:20

10 345 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 110 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 110 docx

... the overloaded ToString method. Listing 22-7: Setting and retrieving objects from the Session using State Service and a base page VB — Default.aspx.vb Partial Class _Default Inherits SmartSessionPage Protected ... each machine in the Web farm and ensures that session state is stored in a transparent and distributed manner among machines in the farm. You can learn more about Stat...

Ngày tải lên: 05/07/2014, 19:20

10 331 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 119 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 119 docx

... current working directory using the Directory class’s SetCurrentDirectory() method. Listing 25-5 shows you how to set and then display your working directory. Listing 25-5: Setting and displaying the ... I/O and Streams Working with Drives, Directories, and Files Many times in your ASP.NET applications, you need to interact with the local file system, reading directory structures,...

Ngày tải lên: 05/07/2014, 19:20

10 291 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 122 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 122 docx

... binaryreader.ReadString(); long l = binaryreader.ReadInt64(); int i = binaryreader.ReadInt32(); char c = binaryreader.ReadChar(); float f = binaryreader.ReadSingle(); decimal d = binaryreader.ReadDecimal(); binaryreader.Close(); If ... are Reader and Writer classes. These classes help insulate you from having to deal with reading and writing individual bytes to and from Streams, enablin...

Ngày tải lên: 05/07/2014, 19:20

10 352 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 124 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 124 docx

... advantage is that you create a single point with which other objects can interact, and you have only a single point of code to create, debug, deploy, and maintain. In this scenario, the customer ... components in ASP.NET. They are easy to create using the built -in templates. Because they participate fully in the page lifecycle, you can create controls that can interact with their...

Ngày tải lên: 05/07/2014, 19:20

10 272 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 132 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 132 docx

... Modules and Handlers You should now have a basic understanding of the IIS and ASP.NET request pipeline — and how you can use HttpModules and HttpHandlers to interact with the pipeline. The following ... 27: Modules and Handlers processing rather than as an integrated part of the IIS request processing pipeline. Figure 27-1 shows the basic request processing pipeline of IIS 5...

Ngày tải lên: 05/07/2014, 19:20

10 345 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 134 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 134 docx

... put into building componentized applications using the ‘‘latest’’ ActiveX technologies. Using Business Objects in ASP.NET 3.5 Chapter 1 of this book provides an introduction to using .NET business ... create a Bin folder in the root directory of your application by right-clicking on the project within the Solution Explorer and selecting Add ASP.NET Folder ➪ Bin. In Visual Stud...

Ngày tải lên: 05/07/2014, 19:20

10 199 0
w