Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources] - نسخه متنی

G. Andrew Duthie

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







Chapter7 Quick Reference































To


Do this


Modify the runtime behavior of an ASP.NET Web Form


Add the @Page directive to the page and set the desired attributes.


Use classes by name without explicitly specifying their namespace


In a Web Form, add the @Import directive, with the namespace attribute specifying the namespace to import.

In a Visual Basic .NET code-behind file, add the Imports statement with the desired namespace.


Make a user control or custom server control available for use on a Web Form


Drag and drop the user control from the Solution Explorer window onto the design surface of a Web Form.


Enable output caching


Add the @OutputCache directive to the page, and set the desired attributes.


Create a user control


Right-click the project in Solution Explorer, select Add, and then select Add Web User Control. Add the desired controls to the user control, and write any code necessary, and then save the files and build the project.


Write server-side functions in a Web Forms page


Create a <script> block with the runat=“server” attribute and place the functions within it.


Handle page-level events


Add an event handler with the appropriate signature (such as Page_eventname) to the code-behind module for the page (or the server <script> block for pages that do not use code-behind).


/ 126