惠普打印机能加墨水吗:计算机文档,谁能翻译一下,要专业一些,谢谢

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/01 09:34:37
ASP.NET Web Controls
Day-to-day usage of the different types of controls is possibly the best way to realize how useful they are. Whenever we add a single line of code to an ASP.NET page to add a simple control, we're actually adding a lot of functionality that has been hidden away from us. The end result is that the complicate dinner workings of the control are abstracted away from us, leaving us to worry about designing pages,without having to write mountains of code to make pages functional. Anyone who has experience of developing with older Web technologies like ASP will appreciate how simple Web development becomes when they have a full set of controls at their fingertips!ASP.NET has a broad set of Web controls that can be grouped into four broad categories:
❑ Basic controls: This group (sometimes referred to as intrinsic controls) contains controls that,when rendered, look and feel like standard HTML elements but are processed on the server.They have a standard set of properties and events that are common to all of these controls and can be accessed by the server. Examples include the Button, CheckBox, and TextBox controls,all of which have Text, Font, ForeColor, and Visible properties among many others.
❑ Data rendering controls: These controls are used for binding and displaying data from a datasource; for example, the DataGrid and DataList controls.
❑ Rich controls: These controls have no direct HTML counterparts. Rich controls like the Calendar control are made up of multiple components, and the HTML generated typically consists of numerous HTML tags (as well as client-side script) to render the control in the browser.
❑ Validation controls: These controls are designed to improve user interaction with pages. They can be used in a wide range of situations, from ensuring that a password is entered correctly to ensuring that only valid data is entered into textboxes and submitted to a database server.Hackers can bring down entire sites that use Textboxes to get data into databases without applying any validation logic! Examples of validation controls include the RequiredFieldValidator that can be used to ensure that data is provided in all mandatory fields. We'll see these controls in action in the next chapter.
As you start to build the Wrox United example in this chapter, you will gain experience of working with each type of control listed above. You will also learn to write event handlers for the various events raised by each of these controls, for example, the clicking of a button, or the selection of an item in a drop down box.
The introduction briefly mentioned that you can add a runat="server" attribute to HTML tags to process them on the server, so let's take a look now at what this means and how it works. We'll then compare HTML server controls with Web controls.
大哥们,不要机器翻译,人工的好吗?control在这里是控件的 意思 !!!这是一片关于ASP.NET的文档。。。。。。。

ASP.NET Web 控制
不同类型的控制逐日用法可能地是最好的方法了解如何有用的他们是。 每当我们把一个单一程序编码行加入 ASP.NET 页增加简单的控制,我们正在实际上增加许多功能性以有被藏着远离我们。 结束结果是那弄复杂控制的晚餐工作被摘录远离我们, 离开我们有关设计页烦恼,不必须写码的山给使页功能。 有以像 ASP 的较旧 Web 技术发展的经验任何人将会感激当他们在他们的指尖有一充足组的控制时候 , 简单的 Web 发展如何变成!ASP.NET 有一宽广组的 Web 能进入四个宽广的种类之内被聚集的控制:
? 基本控制: 这一个组 (有时称为本质的控制) 包含控制, 当描绘, 看而且感觉像标准的 HTML 元件但是在服务器上被处理。他们有一标准组的特性和通常的事件对所有的这些控制并且能被服务器存取。 例子包括按钮,勾选栏和本文框控制,全部都有在许多其它之中的本文,字型, ForeColor 和看得见的特性。
? 数据翻译控制: 这些控制作为缠绕而且显示来自 datasource 的数据; 举例来说,DataGrid 和 DataList 控制。
? 富有的控制: 这些控制没有直接的 HTML 类似版本。富有的控制喜欢控制由多重元件组成的日历,而且典型地被产生的 HTML 有很多 HTML 附签 ( 连同用户端- 边的手写体) 描绘浏览器的控制。
? 确认控制: 这些控制被设计改善使用者和页的互动。 他们能被用于一个情形的广范围,从确定一个密码正确地被进入到确定不过有效的数据被参与本文框并且对一个数据库服务器委托。Hackers 能带来下整个的位置使用本文框不需要应用任何的确认逻辑就拿数据进数据库之内! 确认控制的例子包括能用来确定的 RequiredFieldValidator 数据被提供在所有的强制性的栏位中。 我们将会见到下章的行动这些控制。
就如你启动建立被统一这章的例子 Wrox 的,你将会得到与在上面被列出的每个类型的控制合作的经验。 下方格在一个放中你举例来说也将会学习为被每这些控制升起的各种不同的事件写事件操作者一个按钮的点一下人 , 或项目的选择。
介绍简短地提到,你能把 runat=" 服务器 " 属性加入 HTML 附签在服务器身上处理他们, 因此现在在这意谓的让我们轮流神情和它如何工作。 我们然后将会比较 HTML 服务器和 Web 控制的控制。

————————————————————————

以上为机器翻译,若需细致翻译请等待高手!!

.NET网络控制
日常使用的各类管制可能是最好的方式,ASP知道他们是有益的. 每当我们增加一行代码ASP.NET页的补充控制简单,我们增加了很多功能其实已经离我们隐藏. 其结果是,复杂的工作晚餐控制物远离我们,让我们担心页设计,不必写代码,使山区页功能. 有经验的人,如技术开发上有老学校将发展成为明白简单网页时全套控制的资讯! ASP.NET有广泛的网络管理,可分为四大类:
❑基本控制:这组(有时称为内在控制)中的控制,使在脸上,感觉超标准的内容,但在处理的Server.they具有标准特性的事件,也是所有这些管制措施,可通过服务器. 例如按钮checkbox,控制textbox均全文Font、ForeColor、有形财产等等.
❑使数据控制:用于控制这些数据显示,从DataSource约束力; 例如,DataGrid和DataList控制.
❑富管制:管制没有直接对应文本. 丰富的历象控制是由多种控制组件,包括了许多典型产生超文本标记(以及客户方字体)提供浏览器控制.
❑验证控制:这是为了控制与改善用户页. 可用于各种情况,确保密码是正确的进入,以确保只有正确的数据输入textboxes并向数据库server.hackers可以降低整个场地使用textboxes获得的数据资料库,用任何验证逻辑! 实例包括RequiredFieldValidator验证控制,可以用来保证数据的强制规定所有领域. 我们会看到这些管制行动在未来的篇章.你开始兴建Wrox本章的例子,你会得到经验与上述每种控制. 你也知道写事件处理的各种活动,提出每个管制为例,点击一个按钮,或选择一个项目,降低了箱.
采用简服务单说就可以增加runat="服务器"标签文本,将加以处理的器,不妨来看看现在这是什么意思,以及如何工作. 我们会跟网络管理与控制班服务器.

ASP 。网络网控制
不同的类型的每日用法控制可能是最佳的方式意识到多么有用他们是。 每当我们增加一个唯一代码行来ASP 。网络页增加简单的控制, 我们实际上增加掩藏了从我们的很多功能。 最终结果是, 控制的使复杂化晚餐工作从我们被提取, 留下我们给对设计页的忧虑,没有必须写代码山使页功能。 任何人有显现出的经验以更旧的网技术如ASP 将赞赏多么简单的网发展成为当他们有控制全套在指尖!ASP 。网络有宽广的套可能被编组入四个宽广的类别的网控制:
? 基本控制: 这个小组(有时指内在控制) 包含控制,当回报, 品质象标准HTML 元素但被处理在服务器。他们有对所有是共同这些控制, 可能由服务器获取的标准套物产和事件。 例子包括按钮, 复选框, 并且TextBox 控制,哪些有文本, 字体, ForeColor, 并且可看见的物产在许多其他之中。
? 数据rendering 控制: 这些控制被使用为束缚和显示数据从datasource; 例如, DataGrid 和DataList 控制。
? 富有的控制: 这些控制没有直接HTML 相对物。 富有的控制象日历控制被弥补多个组分, 并且HTML 典型地引起包括许多HTML 标记(并且客户边剧本) 回报控制在浏览器。
? 检验控制: 这些控制被设计改进用户互作用与页。 他们可能被使用在大范围情况, 从保证, 密码正确地输入对保证唯一合法的数据输入textboxes 和递交给数据库服务器。黑客能减少使用Textboxes 让数据进入数据库没有申请任何检验逻辑的整个站点! Examples of validation controls include the RequiredFieldValidator that can be used to ensure that data is provided in all mandatory fields. We'll see these controls in action in the next chapter.
As you start to build the Wrox United example in this chapter, you will gain experience of working with each type of control listed above. You will also learn to write event handlers for the various events raised by each of these controls, for example, the clicking of a button, or the selection of an item in a drop down box.
The introduction briefly mentioned that you can add a runat="server" attribute to HTML tags to process them on the server, so let's take a look now at what this means and how it works. We'll then compare HTML server controls with Web controls.