Data Source and Data Display Controls Part 1. Reference: “ASP.NET 2.0 Illustrated” by Alex Homer and Dave Sussman . -ch3 illustrated book http://www.mediafire.com/? 5kgeryodzgx. Databases and Connections.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Data Source and Data Display ControlsPart 1
“ASP.NET 2.0 Illustrated” by Alex Homer and Dave Sussman.
-ch3 illustrated book
1. In code, you use the ConnectionStrings property of the ConfigurationManager object. For example:
2. Within the markup of ASP.NET pages, you use an expression builder, which is a new feature of ASP.NET 2.0. Expression builders allow you to declaratively access features such as connection strings, application settings, and resources. For example, consider the following code:
Figure 3.1. The Visual Studio 2005 Server Explorer
Figure 3.2. The Visual Web Developer Database Explorer
Table 3.1. Common Properties of All Parameter Types
Table 3.2. Specific Parameter Type Properties
Figure 3.3. Adding a WHERE clause to a SqlDataSource control
Figure 3.4. Selecting the parameter type
Figure 3.5. Selecting the source of the parameter data
Figure 3.6. Adding data modification to the SqlDataSource control
Figure 3.7. Mapping the parameters into the command