2007年4月11日

Converting an Existing Web Page to Use the Master Page

摘要: You may already have existing Web pages that you want to convert to //转换use a Master Page. As you saw in the previous lesson, using a Master Page involves//包括 two main steps: registering the Master P... 阅读全文

posted @ 2007-04-11 14:41 改变热爱 阅读(211) 评论(0) 推荐(0)

Adding a Page that Uses The Master Page

摘要: You will now create a Web page that is based on //基于the Master Page you just added to your project. 1. In the Solution Explorer right-click the project and select Add New Item. In the Add New Item di... 阅读全文

posted @ 2007-04-11 14:21 改变热爱 阅读(191) 评论(0) 推荐(0)

Setting Up the Menu Control

摘要: You will need to add a Site Map file to your project, which serves as the data file for the SiteMapDataSource control//网站地图数据源控件 you added in the previous lesson. This file contains the hierarchy of t... 阅读全文

posted @ 2007-04-11 14:13 改变热爱 阅读(181) 评论(0) 推荐(0)

Creating A Master Page

摘要: In this section you will add a Master Page to your project, format it, and then add one of the new ASP.NET 2.0 navigational control's to it. 1. Add a Master Page to your project just as you would an... 阅读全文

posted @ 2007-04-11 11:30 改变热爱 阅读(190) 评论(0) 推荐(0)

Master Pages

摘要: Most Web sites share a common look and feel //统一的外观和感觉on almost every Web page. Typically//典型地 this is implemented via //经由separate files, such as for a header and footer. ASP.NET v1.x supported this ... 阅读全文

posted @ 2007-04-11 11:27 改变热爱 阅读(188) 评论(0) 推荐(0)

Adding Update Functionality//增加修改功能

摘要: You've seen how your GridView control lost some functionality //功能when using an object data source //对像型数据源that only provided a method for data retrieval//数据恢复. You will now see how to add methods to ... 阅读全文

posted @ 2007-04-11 11:08 改变热爱 阅读(211) 评论(0) 推荐(0)

2007年4月10日

Consuming the Object Data Source--Binding the Object Data Source to the GridView

摘要: In this lesson you will change the GridView control's data source//数据源 from a SqlDataSource control//SQL数据源控件to an ObjectDataSource control//对像数据源控件. You will see how the current functionality //函数性,官... 阅读全文

posted @ 2007-04-10 17:14 改变热爱 阅读(178) 评论(0) 推荐(0)

Configuring the Object Data Source

摘要: You will now add an ObjectDataSource control //数据源对像控件to your project and configure it to use the data access class //数据访问对像you just created. 1. Click the Authors.aspx tab //制表符,统计表and ensure that y... 阅读全文

posted @ 2007-04-10 15:29 改变热爱 阅读(308) 评论(0) 推荐(0)

2007年4月9日

Adding a Data Layer Class

摘要: In most cases it's best to architect //构建your applications to use a data access layer that encapsulates //装入胶囊,封进内部,压缩all the database interactions//相互作用. This protects the database, simplifies calls ... 阅读全文

posted @ 2007-04-09 10:31 改变热爱 阅读(247) 评论(0) 推荐(0)

2007年4月6日

Examining the HTML

摘要: It's helpful to view the Authors.aspx source to see how VWD has configured //配置the various controls, especially the SqlDataSource control. Notice that the SQL statements //SQL语句are embedded in the ASP... 阅读全文

posted @ 2007-04-06 14:58 改变热爱 阅读(170) 评论(0) 推荐(0)

2007年4月5日

Binding Data Bound Controls<绑定到数据绑定控件,即两个控件绑定在一起,以影响另一个控件中的数据显示的效果>

摘要: Often you will need to set up a control from which the user can select a value and have it affect the data displayed in another control. In a sense they are "bound together"//捆绑在一起. In this lesson you... 阅读全文

posted @ 2007-04-05 14:02 改变热爱 阅读(239) 评论(0) 推荐(0)

Examining a SQL Data Source

摘要: A SQL data source //数据源is not the same as a SQL data connection. A data connection only has knowledge of//知道 the database to which it is connecting. A SQLDataSource control uses a defined //定义了的data... 阅读全文

posted @ 2007-04-05 13:23 改变热爱 阅读(175) 评论(0) 推荐(0)

2007年4月4日

Adding a GridView Control

摘要: Almost every control in VWD can be bound to one of three types of data sources: SQLDataSource, XMLDataSource, or an ObjectDataSource. VWD manages the binding of the data source to the control with th... 阅读全文

posted @ 2007-04-04 15:41 改变热爱 阅读(232) 评论(0) 推荐(0)

Working With HTML

摘要: A typical HTML document can be very complex with many nested//嵌入的 HTML tags. Precise //精确的placement of controls and manipulation of the HTML can sometimes be a challenge //挑战with poor tools. VWD prov... 阅读全文

posted @ 2007-04-04 15:37 改变热爱 阅读(194) 评论(0) 推荐(0)

Adding a Page Load Event Handler

摘要: A Web form has many different types of events that can be trapped and handled in your code-behinds. Each control has its own events, and so does the page itself. Every time a page is loaded, for exa... 阅读全文

posted @ 2007-04-04 14:42 改变热爱 阅读(223) 评论(0) 推荐(0)

导航