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.
“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:
Table 3.1. Common Properties of All Parameter Types control, such as a
Table 3.2. Specific Parameter Type Properties control, such as a
Figure 3.3. Adding a WHERE clause to a control, such as a SqlDataSource control
Figure 3.4. Selecting the parameter type control, such as a
Figure 3.5. Selecting the source of the parameter data control, such as a
Figure 3.6. Adding data modification to the or via the wizard. SqlDataSource control
Figure 3.7. Mapping the parameters into the command and parameters set.