• No results found

Sld-Lect07-Introducing Visual Studio 2005.pdfView Download

N/A
N/A
Protected

Academic year: 2020

Share "Sld-Lect07-Introducing Visual Studio 2005.pdfView Download"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

Introducing Visual

Studio 2005

(2)

„

Visual Studio is an indispensable

very

important / essential

tool for developers.

It provides several impressive

remarkable /exciting

benefits:

…

Integrated error checking

…

The web form designer

…

An integrated web server

(3)

Creating a Website

(4)
(5)
(6)
(7)

Solution Explorer

(8)
(9)
(10)

„

Where can I get all these things (Solution

Explorer, Properties, Toolbox) from???

„

You can get them from the Toolbar

(11)
(12)
(13)

Adding Web Controls

„

To add a web control, drag

the control you want from

the Toolbox on the left and

drop it onto your web page.

„

The controls in the Toolbox

are grouped in many

(14)

„

As you add web

controls, Visual

Studio automatically

adds the

corresponding

control tags to your

.aspx file. You can

even look at the

.aspx code or add

server control tags

and HTML tags

manually by typing

them in.

„

To switch your view,

click the Source

(15)
(16)

The Properties Window

„

To configure a control in Design view, you must

first select it on the page or choose it by name

from the drop-down list at the top of the

Properties window. Then, you can modify any of

its properties.

„

Good ones to try include:

…

Text (the content of the control)

…

ID (the name you use to interact with the control in

your code)

(17)
(18)

Run a web application

„

When you run a

(19)
(20)
(21)

Writing Code

„

From the

Solution

(22)
(23)

Adding Event Handlers

„

Most of the code in an ASP.NET web

page is placed inside event handlers that

react “respond/answer/reply”

to web

(24)

1.

Type it in manually

2.

Double-click a control in Design view

3.

Choose the event from the Properties

window

4.

Choose the event from the drop-down list

(25)
(26)
(27)
(28)
(29)
(30)
(31)

IntelliSense and Outlining

„

Visual Studio provides a number of

automatic time-savers through its

IntelliSense technology.

„

They are similar to features such as

(32)

Member List

„

Visual Studio makes it easy for you to

interact with controls and classes. When

(33)
(34)
(35)

When you tried to run this web application, a message will appear

(36)
(37)
(38)
(39)
(40)
(41)

Namespace Imports

„

The Imports statement allows you to use

the classes in a namespace without typing

the long fully qualified class names.

(42)
(43)
(44)
(45)
(46)

References

Related documents

Encourage them to pray when they hear music… to hear stories and to know that their own story is touched by the promise of Jesus… to be thankful for the community of faith

Prepare an statement of profit or loss (analysing expenses by function) for the year ended 31 December 2015 and a statement of financial position as at that date... 2.2

A cash and items that should turn into cash in the near future B cash invested by the owner of the business.. C items bought for long term use by

First, please select Top down Java bean Web Service from the Web Service type list, and select a WSDL document from workspace, click on the Server name link on the page will bring

General Contractor, Subcontratctor, Collaborative Network, Communication, Large Projects, Coordination

The lift to drag ratio increases as the angle of attack increased on both wings, for rear wing the lift to drag ratio is reduced when compared to that of front wing due to

(AP Download Report only.) If you selected a Cardholder from Cardholder Name and that Cardholder has multiple cards, you can select a card from the drop-down

The objective here is to examine the views of Turkish trade unionists on the country’s accession to the EU and related issues making use of a major survey of over 6,000