Sie sind auf Seite 1von 135

ASP.

net ctiveerver age servermediasmart desktopgreenhp connecting A S P

Learning Objective: ..At the end of this lesson, the students should be able to: ..Define ASP.NET ..Differentiate Static and Dynamic Web Page ..development ..implementation ..advantage and disadvantages

..Discuss steps on hosting ASP.NET Web Pages ..Enumerate the components of implementing ASP.Net both locally and globally.

what is .net

ASP.net Active Server Page PREPARED BY: SIR X

What is ASP.Net ..Active Server Page . NET ..an exciting web programming technology pioneered by Microsoft for creating dynamic web pages. ..A technology developed to create dynamic web sites that displays web contents based on user s request. ..server-sidesoftware used to create interactive, dynamicweb sites that can interface with databases. ..Competing Web Programming Technologies .

Static vsDynamic

STATIC VS DYNAMIC WEBSITES static

Static Web Page ..Static web page

sample script

sample script (tag) <html> <body> <b> Not using Hello World!</b> </body> </html> serving static

Serving Static Web Pages ..Requirement: ..Web server ..a software application that continually waits for incoming web requests. -web requests are requests for a particular URL.

..How a web server handles incoming web requests.

adv and disadvan File System Internet servermediasmart Web Server desktopgreenhp Workstation Web browser make Web request Web server receives Web request The appropriate file is requested from the file system. The file system returns the contents

of the file to the Web server The web server returns the requested file The web browser receives the requested file (an HTML file) and renders the HTML markup graphically on the computer screen

The Pros and Cons of Static Pages ..Advantages: ..relatively simple to build ..easy to host; no required software ..doesn t not require programming skill

..Disadvantages: ..not interactive ..Changing a content is done manually.

dynamic

Dynamic Web Page ..Dynamic web page ..websites whose content is determined dynamically based on user input or other information. ..a web page that doesn't exist until a program generates it in response to a request from a client.

sample script

sample ASP.NetScript <html xmlns= http://www.w3.org/1999/xhtml > <head runat= server > <title>Programming Heaven Site</title> </head> <body> <form id= form1 <div> <imgsrc= Banner.jpg /><br> <asp:contentplaceholderid= ContentPlaceholder1 runat= server > </asp:contentplaceholder> </div> </form> </body> </html> serving runat= server >

Serving Dynamic ASP.NET Web Pages ..Requirement: ..ASP.NET Engine ..a piece of software that knows how to execute ASP.NET web pages. ..How a web server handles incoming web requests.

adv and disadvan File System Internet servermediasmart Web Server desktopgreenhp Workstation Web browser make Web request Web server receives Web request for a dynamic Web page The appropriate source code file is requested from the file system. The file system returns the contents of the

source code file to the ASP.NET engine. The ASP.NET engine then executes the source code, which produces HTML output. The HTML output produces by executing the dynamic Web page is returned to the Web server The Web server returns the HTML it received from the ASP.NET engine ASP.NET Engine The request is handed off to the ASP.NET engine The web browser receives the requested file (an HTML file) and renders the HTML markup graphically on the computer screen

The Pros and Cons of Dynamic Pages ..Advantages: ..They save money and trouble updating applications. ..They give you access from any place with an Internet connection. ..They increase customer satisfaction

..Disadvantages ..Security ..Complex programming ..keep customers at arm's length ..Additional software

Hosting ASP.NetPages

HOSTING ASP.NETPAGES Local and Global 7/23/2013

Hosting ASP.NET PAGES: Local Host ..Web Hosts ..It is a space(server) on the internet that will allow the developer to store, to maintain, and publish their web pages over the internet. ..free or fee?

..requires web server ..We don t have a web server, how could we be able to view our pages? ..using ASP.NET application development service ..http://localhost:portNumber /ASP.NET_Page.aspx

adv of local host

Pros and Cons of Local Hosting ..Advantages ..Testing can be done while offline ..Its fast ..Advanced debugging features are available ..Its secure

..Disadvantage ..they can be viewed only from your own computer.

7/23/2013 using web hosts

Hosting ASP.NET PAGES: Web Host ..Web hosting company ..company that has a number of Internet-accessible computers for individuals or companies to place their websites.

..Advantage of using a web-hosting company ..A publicly available website ..any visitor can visit your website

..Use of a domain name ..you can personalize a domain name

..Ability to focus 100% on building your website ..hassle-free.

local host requirements

local Host Requirements ..To be able for a website to execute ASP.NET pages, an ASP.NET engineis required. ..Where could I find ASP.Net?

..Also a database ..database engine efficiently store ..SQL Server 2005

engine is needed. is a specialized application designed to and query data. and above is recommended.

..Windows older than 2000, are not capable of supporting ASP.Net development.

kikc-off

KICK-STARTING VISUAL WEB DEVELOPER hard way and soft way . I mean easy way 7/23/2013 visual web developer

The Visual Web Developer ..Notepad vs Development Environment ..The Visual Web Developer ..a commonly used WYSIWYG editor for building ASP.Net web pages. ..The Visual Web Developer is a component of Microsoft Visual Studio 2005.

7/23/2013 the IDE

New Blank Web Page 7/23/2013 design and source tab Two Tabs: Display and Source

Design and Source Tab ..The Design tab ..used to design the content of your ASP.NET web page by dragging HTML elements from the Toolbox and dropping them onto the page.

..The Source tab ..displays the HTML markup code for the ASP.NET web page. ..runat="server attribute tells the ASPNET engine to run the HTML server control on the server side rather than on the client side.

tool box

Tools of the Trade ..Toolbox that contains elements and controls that you can drag and drop onto your ASP.NET web page in the Design tab.

what is .net creating and testing

CREATING AND TESTING A SIMPLE ASP.NET WEB PAGE The Moment of Truth: what is .net

what is .net 1 2

Testing a Simple ASP.NET Web Page ..Press Ctrl + F5 (without debugging)

what is .net 3 4

Building anASP.NET WebPage Application 7/23/2013 what is .net

application life cycle 1.Design ..determining the objective of the application. ..focus on what you need and not how you are going to build it. ..describe the role of client and server in carrying out the goal. ..Client ..Describe and make a list of the information needed. ..Design the user interface.

..Server ..specify what you want to happen on the server side of your application.

7/23/2013

..Sample of server pseudo-code Read ID and password submitted by visitor Send ID and password to verification program if verification program approves then Dynamically create an approval web page and sent it to the visitor else Dynamically create a rejection web page and sent it to the visitor end if 7/23/2013 what is .net

application life cycle 2.Development Phase ..the segment of the life cycle where your application is built. It is here that a developer brings your plans to life by creating the user interface and the server-side processing. ..Designers versus Developers

7/23/2013 what is .net

application life cycle 3.Testing ..The third and probably the most important phase of the life cycle because this is where you identify flaws in your planning and development. ..Four important tests 1.unit testing ..testing is where a piece of the application called a unit is tested.

2.integration ..testing is where all the pieces (i.e., units) are tested together to determine if they work.

3.quality assurance ..testing is where a group of testers verify that the application performs according to specification

4.user acceptance. ..where members of the business unit who are going to use the application to run the business verify that the application meets their objectives

7/23/2013

application life cycle 4.Implementation ..where the business uses the new application and turns off older applications that are being replaced

5.Maintenance ..The last and longest phase of the life cycle.

7/23/2013 what is .net

DESIGNING THE FIRST ASP.NETWEB APPLICATION Activity 1 7/23/2013 what is .net

7/23/2013 what is .net

ADDING THE FIRST DYNAMIC CONTENT System Time and Date 7/23/2013 what is .net

Label to display content ..Add label to the page ..Creating the event for Form_Load ..this will make the event happen when the page load

..On the Code Window, type: ..Label1.Text = The time and date now is DateTime.Now ..Format: ..Object.Method= some value

&

7/23/2013 what is .net

CREATING THE FIRST DYNAMIC WEB PAGE Creating a web page that will create a new account by concatenating the first and last name and adding a suffix string 54321 when a button is pressed. 7/23/2013 what is .net

The interface 7/23/2013 what is .net

The HTML controls & properties ..Label1 ..Text: First Name

..Textbox1 ..ID: Fname

..Label2 ..Text: Last Name

..Textbox2 ..ID: Lname

..Button1 ..ID: btnCreateAcc ..Text: Create New Account Number

..Label3 ..ID: lblNewAcc ..Text: New Account Number ..Visible: False

..Textbox3: ..ID: txtNewAcc ..ReadOnly: True ..Visible:False

Server-side Development ..Event for the btnCreateAccbutton ..lblNewAcc.Visible = True ..txtNewAcc.Visible = True ..txtNewAcc.Text = Your account is Lname & 54321 ..btnCreate.Visible = False

& Fname &

7/23/2013

Variables andExpressionsin ASP.NET 7/23/2013

VALUES AND VARIABLES 7/23/2013 what is value?

Values ..Any information that you place in the code of an ASP-NET web page. ..Ex: .. Hello World ..10 ..True

..Asp.Netcan use any kinds of value in programming. ..Person name ..Address ..UserID ..Password

four categories of values

Four Categories of Values 1.Numbers ..values used for computations. ..Integers ( -73124, -4, 0, 15, 31005) ..Decimals (-12.75, 0.34 , 7.312)

2.Strings ..series of characters that are enclosed within quotations. ..can be combination of numbers and text .. 121 Gordon Street .. 10

7/23/2013

Four Categories of Values 3.Boolean ..either true or false and cannot be any other value; it is written using the word True or False without placing it in quotations. ..Boolean Decision = True

4.Date ..A date or a portion of a date ..A date is written using a standard date format and is enclosed within pound signs (#1/1/07#).

7/23/2013 what is .variable

Variables ..A variableis a temporary storage place a box in computer memory where values are placed while the ASP.NET engine is processing a request. ..A program can use the value assigned to the variable anytime during runtime. ..Holds specific data at runtime.

7/23/2013 what is data type?

Data Type ..Describes the type of informationand range of valuesthat can be placed into the box. 1.Integer ..whole number ..negative, zeroes & positive. ..-2,147,483,648 to 2,147,483,647.

2.Long ..whole numbers ..-9,223,372,036,854 to 9,223,372,036,854,775,807

3.Short ..whole numbers ..-32,768 to 32,767.

Data Type 4.Single ..used to store mixed numbers, which are called floating point. ..-3.4028235E+38 through -1.40 1298E-45 and positive values ranging from 1.40 1 298E-45 through 3.4028235E+3 8.

5.Double ..used to store more precise mixed numbers. ..-1.797693 1348623 1570E+308 through 4.94065645841246544E+ 308, and positive numbers can range from 4.94065645841246544E-324 through 1 .797693 1348623 1570E-308.

Data Type 6.Decimal ..more precisionand is much less subject to rounding errors than the Single and Double data type. ..79, 228,162,514, 264, 337, 593, 543, 950, 335 (positive) ..-79, 228,162,514, 264, 337, 593, 543, 950, 335 (negative) ..(Decimal) 7.9228 1625 14264337593543950335.

7.Boolean ..used to store a Boolean value. ..These values are either True or False.

7/23/2013

Data Type 8.String ..used to store a string, which is a series of characters that are enclosed within quotations. .. 0930-8872332 , shydh2315 ,

9.Date ..The Date data type is used to store dates.

10.Object or a specific type of object ..used to store any kind of data; ..not advisable

7/23/2013 variable declaration

Declaring a Variable ..Way of introducing a variable to the compiler. ..Before a variable can be used it must be created.

..Declaration Statement ..Dim var_nameas data_type ..Dimtells the engine that you are creating a variable. ..var_name the name you give to this variable. ..data typedescribes the kind and at times the size of the data that can be stored in the variable

7/23/2013 methods of declaration

Methods of Declaration ..Single Variable ..Dim FirstNameAs String ..Different variables with different data types ..Dim FirstNameAs String, HireDateAs Date, Salary As Decimal

..Different variables with same data type ..Dim FirstName, LastNameAs String

7/23/2013 initializing a variable

Initializing a Variable ..ASP.Netengine automatically places default values in a variable. ..Initialization of Variable ..assigning an initial value upon creation of a variable

..Assigning a Value to a Variable ..Dim FirstNameAs String = "Bob ..FirstName= "Mary

7/23/2013 operators and expressions

OPERATORS AND EXPRESSIONS 7/23/2013

Operators and Expressions ..Expressions in programming is a part of statement that evaluates and produces result. ..Parts of an Expression ..operand(s) ..An operand is the value.

..operator. ..An operator is the symbol that tells the ASP.NET engine how to evaluate the mathematical expression using the operand.

7/23/2013 types of operators

TYPES OF OPERATORS Arithmetic Operator Logical Operator Assignment Operator 7/23/2013 arithmetic operator

Arithmetic Operators 7/23/2013 logical operator

Logical Operators Operator Operation Precedence Number Not Reverses the value of a condition; True becomes False, and False becomes True 1 And All conditions must be true for the compound condition to be true 2 AndAlso Same as the And operators, except performs shortcircuit evaluation 2 Or Only one of the condition must be true for the compound condition to be true 3 OrElse Same as the Or operator, except performs shortcircuit evaluation 3 Xor One and only one condition can be true for the compound condition to be true. 4

truth table

Truth Table Truth Table for the Notoperator Value of condition True False Value of Notcondition False True Truth Table for the Andoperator Value of condition 1 Value of condition 2 Value of condition 1 and 2 True True True True False False False True False False False False

Truth Table for the AndAlsooperator Value of condition1 Value of condition 2 Value of condition 1 AndAlso condition 2 True True True True False False False (not evaluated) False Truth Table for the OrOperator Value of condition1 Value of condition 2 Value of condition 1 Orcondition 2 True True True True False True False True True False False

False

Truth Table for the OrElseoperator Value of condition 1 Value of condition 2 Value of condition 1 OrElsecondition 2 True (not evaluated) True False True True False False False Truth Table for the XorOperator Value of condition1 Value of condition 2 Value of condition 1 Xorcondition 2 True True False True False True False True True False

False False

if clause assignment operator

Assignment Operator ..The assignment operator assigns the value from the right side of the operator to the variable on the left side of the operator

7/23/2013 comparisonn operator

Comparison Operators ..A comparison operator compares two values. The result of the comparison is either true or false.

7/23/2013 order of precedence

Order of Operations Precedence ..10 * 5 + 6 ??? ..P -Parenthesis ..E -Exponential ..M -Multiplication ..D -Division ..M -Modulus

..A -Addition ..S -Subtraction

Evaluate the ff: ..result = 15 + 6 ..hours = 3 * 8 / ..distance = 10.0 5.0 -6.0 / 2.0 ..area = ( 4 * 3 / 3.0 6 + 4 / 2 + 2.0 * 6 )2/ 3 + 8

7/23/2013 concatenation

Concatenation ..Concatenation means that one string is joined with another string to form a third string. ..& is the operator use to concatenate strings in ASP.Net

Dim FirstNameAs String = "Bob Dim LastNameAs String = Smith

Fullname= FirstName& LastName 7/23/2013 casting

Casting: Converting Data Types ..The task of converting from one data type to another. ..Casting can be performed by calling an appropriate conversion function.

7/23/2013

How it works ..Converting a quotient of two numbers to integer. ..Dim average as Decimal ..Dim intconvertas Integer ..average = (98 / 5) ..intconvert= CInt(average)

..where: ..CIntis the nameof the function called. ..(average) is the argument ..Arguments are values the function needs to perform its task.

..Return value ..the value that the function returns to your program after it ..performs its task.

7/23/2013 what is .net

ConditionalStatements Coming Soon .. 7/23/2013 what is .net

Quiz 1 7/23/2013 what is .net

..1. "Bob" is a(n) a. Integer b. Short c. Long d. None of the above 7/23/2013 what is .net

..2. A comparison operator is used to define the condition for ASP.NET to make a decision. a. True b. False 7/23/2013 what is .net

..3. Initialization is assigning a. The first value to a variable b. A value to a variable c. A string to a variable d. An integer to a variable 7/23/2013 what is .net

..4. The c operator is used to determine if the value on the left side of the operator is a. Equal to the value on the right side of the operator b. Not equal to the value on the right side of the operator c. Less than the value on the right side of the operator d. Greater than the value on the right side of the operator 7/23/2013 what is .net

..5. A variable is a. A temporary storage place in memory b. A constant value c. A value that cannot be changed d. None of the above 7/23/2013 what is .net

..6. String values must be enclosed within quotations. a. True b. False 7/23/2013 what is .net

..7. An expression using the XOroperator is true if both the logical expressions joined together by the XOroperator are true. a. True b. False 7/23/2013 what is .net

..8. The AndAlsological operator tells the ASP.NET engine a. Not to evaluate the second logical expression if the first logical expression is true b. To evaluate the second logical expression if the first logical expression is true c. Not to evaluate the second logical expression if the first logical expression is false d. None of the above 7/23/2013

..9. The Not operator tells the ASPNET to a. Skip evaluating the expression b. Skip evaluating the expression only if the expression is false c. Reverse the logic of the expression after evaluating the expression d. None of the above 7/23/2013 what is .net

..10. You can convert from one data type to another using casting. a. True b. False 7/23/2013 what is .net

MONTHLY SAVINGS CALCULATOR Activity 2 7/23/2013

Monthly Savings Calculator ..Mr. Morris search the web looking for an application that will be able to help him compute his current month savings. He has information at hand that might help in the process: ..His Current Month Income ..His Previous Month Savings ..His Current Month Expenses

7/23/2013

Process ..Design 1.Specify the problem ..the unknown

2.Input ..useful input

3.Output ..Solutions (Formula) ..What to display

4.Design the Interface (sketch and make a toe chart)

..Development ..Testing

7/23/2013 what is .net

Extra Challenge ..He was disappointed. He thought he could be able to project his current year savings based on the average of his two monthly savings. ..Rebuild your application before he get pissed off and leave your site.

7/23/2013

ConditionalStatements 7/23/2013 importance of conditional Use of Conditional

ConditionalStatements ..Program makes decision at times. ..flexible program

..A conditional statement tells the ASPNET engine to evaluate a condition. ..codes after the conditional statement are either execute or skip.

7/23/2013 types

TYPES OF CONDITIONAL STATEMENT If .Then Statement If Then Else Statement If Then .ElseifStatement Case Statement 7/23/2013 if then

If....Then Statement ..The If ... Then statement ..execute some statements only if conditions are true

..Pseudocode ..Ifconditional expression Then ..Code that executed if true or skipped if false.

..End If

..Advantage and Disadvantage?

7/23/2013 if then else

The If...Then ... Else Statement ..The If ..Then .Else Statement ..execute some statements when the condition is true, executes another when false.

..Pseudocode Ifconditional statement Then Code that executed if condition is true Else Code that executed if condition is false. End If 7/23/2013 if then else if

The If...Then...ElseifStatement ..The If...Then...ElseifStatement ..execute some statements when the condition is true, evaluates another condition if false.

..Pseudocode ..Ifconditional statement Then ..Code that executes if condition is true

..Elseifevaluate another condition ..Code that executes if this condition is true

..Else ..condition that executes if neither of the condition Is true.

..EndIf

7/23/2013 case

The Case Statement ..The Case Statement ..a selected value with a series of case values and executes a code/statements that belongs to a matched case.

..Pseudocode ..Select Case value

Case first Case value 'Statements that are executed if the select 'value matches the first case value. ..Case second Case value 'Statements that are executed if the select 'value matches the second case value. ..End Select

7/23/2013 variation of case

Variation of Case Statement ..Pseudocode ..Select Case value ..Case first Case value ..'Statements that are executed if the select ..'value matches the first case value.

..Case second Case value ..'Statements that are executed if the select ..'value matches the second case value.

..Case Else ..'Place statements that are executed if the select ..'value matches none of the Case values.

..End Select

7/23/2013 repetition structure

LOOPING STATEMENTS 7/23/2013 what is .net

Looping Statement ..Statement used to execute one or more statements repeatedly without your having to write those statements more than once in your code. ..There are three types of loops. 1.For loop 2.Do While loop 3.Do Until loop.

7/23/2013 for loop

The For Loop ..The For loop tells the ASP.NET engine to execute statements within a specific number of times. ..iteration based. ..Syntax: For i= 1 to 10 'Place statements here Next i 7/23/2013 variation

For Loop Variation ..Modifying the increment of the loop. ..Syntax: For i= 1 to 10 Step 2 'Place statements here Next i 7/23/2013 do while

The Do While Loop ..The Do While Loop also causes the ASP.NET engine to repeatedly execute one or more statements while the condition is true. ..condition base. Do While condition 'Place statements that are executed if the condition is true. Loop 7/23/2013 do loop while

The Do Loop While Loop ..The Do Loop While also causes the ASP.NET engine to repeatedly execute one or more statements at least once. ..Syntax Do 'Place statements that are executed at least once. Loop While condition 7/23/2013 do until

The Do Until Loop ..The Do Until loop tells the ASP.NET engine to execute one or more statements until the condition is true. ..Syntax Do Until condition 'Place statements that are executed if the condition is false. Loop 7/23/2013 do loop until

The Do Loop Until Loop ..The Do Loop Until tells the ASP.NET engine to execute one or more statements at least once until the condition is true. ..Syntax Do 'Place statements that are executed at least once. Loop Until condition 7/23/2013 array

ARRAYS 7/23/2013

Array ..array is a collection of variables of the same type, referred to by a common name. ..a convenient means of grouping together related variables. ..commonly incorporated with repetition structure.

..Advantage: ..it organizes data in such a way that it can beeasily manipulated. ..Unlike variable, array variable can hold different value simultaneously.

array structure

Structure of an Array declaration of array An array with 12 elements subscriptor index

Declaring an Array ..Array can be declared just like an ordinary variable. ..Syntax ..Dim arrName(length) AS datatype ..Where: ..arrNameis the name of the array ..length is the number of elements ..data type type of information it holds.

7/23/2013 array init

Initializing an Array ..Initialization is when you assign an initial value to a variable is declared. ..Syntax: Dim products ( ) AS String = { " Soda , 7/23/2013 array elements Water , Pizza , Beer }

Array Elements ..Array Element is an individual space in an array. ..First index 0 ..Last index (length 1)

..Accessed using the name and the index enclosed in parenthesis.

7/23/2013 adding element

Adding an Array Element ..Unlike other programming, array in VB can be resized at runtime. ..Using ReDimkeyword. ..Syntax: Dim ProductsPrices() AS Single = {2.50, 1.50, 10, 5.50} ReDimProductsPrices(5) 7/23/2013 what is .net

Multidimensional Array Coming Soon 7/23/2013 what is .net

Midterm Quiz 1 1. What loop executes statements if a condition is false? a. Do While loop b. Do Until loop c. Until loop d. None of the above 7/23/2013 what is .net

2. What loop executes statements if a condition is true? a. Do While loop b. Do Until loop c. Until loop d. None of the above 7/23/2013 what is .net

3. The counter range in the For loop is used to a. Increase the expression by 1. b. Determine the range of values used to control the iterations of the loop by the ASPNET engine. c. Limit the number of statements that can be contained in the code block. d. Limit the output of statements within the code block. 7/23/2013 what is .net

4. A Case statement cannot have a default Case. a. True b. False 5. A For loop can skip values in the counter range. a. True b. False 7/23/2013 what is .net

6. What would you use if you want a block of statements to be executed only if a condition is true? a. If ... then b. If ... Then ... Else c. For loop d. For in loop 7. The default clause is used in an If statement to set default values. a. True b. False 7/23/2013 what is .net

8. What is the purpose of Elseifin an If ... Then ... Elseifstatement? a. Contains statements that are executed only if the conditional expression is true. b. Defines another conditional expression the ASP.NET engine evaluates if the first conditional expression is false. c. Contains statements that are executed only if the conditional expression is false. d. Is used to nest an If statement. 7/23/2013 what is .net

9. Statements within a For loop can reference the For loop variable. a. True b. False 10. A Case statement is ideal to use to evaluate a menu option selected by a visitor to your web site. a. True b. False 7/23/2013 Identification of Output

determine the output Dim num As Double = 4 If num <= 9 Then txtOutput.Text= "Less than ten." Else If num = 4 Then txtOutput.Text= "Equal to four." End If End If 7/23/2013 what is .net

Dim a As Double = 5 txtOutput.Clear() If (3 * a -4) < 9 Then txtOutput.Text= "Remember, " End If txtOutput.Text&= "tomorrow is another day." 7/23/2013 what is .net

Dim salary As Double = 13700 Dim depend As Integer = 4 If salary <= 10000 And depend >=5 Then txtOutput.Text= You are tax exempted" Else If salary > 10000 And depend > 5 Then txtOutput.Text= You income tax is 5% Else txtOutput.Text= End If End if 7/23/2013 You income tax is 10%

7/23/2013 what is .net

Working with Databases 7/23/2013 what is .net

Lesson Objective: ..An Introduction to Databases ..Accessing Data with the Data Source Web Controls ..Displaying Data with the Data Web Controls ..Deleting, Inserting, and Editing Data ..Working with Data-Bound DropDownLists, RadioButtons, and Checkboxes ..Exploring Data Binding and Other Data-Related

7/23/2013

Examining Database Fundamentals ..Database ..database is a collection of structured information that can be efficiently accessed and modified.

..Operations of Database ..C Create ..R Read ..U Update ..D Delete ..Can be performed using SQL Script

7/23/2013 what is .net

Storing Structured Data ..Basic Elements of Dbase ..Table ..Columns (Fields) ..Rows (Records)

7/23/2013 what is .net

Commonly used Column types 7/23/2013 what is .net

Primary Key Columns ..A primary key column is a column in the tables that has unique values. ..usually integer or combination of string and integer.

7/23/2013

A Discussion on Database Design ..The database's design is the set of decisions made in structuring the database ..it's the process of deciding what tables you need, what columns make up these tables, and what relationships, if any, exist among the tables. ..poorly designed database affects the development process

7/23/2013 what is .net

Creating a New Database ..Using the Visual Web Developer

7/23/2013

Database Added Solution Explorer Database Explorer 7/23/2013 what is .net

Creating Database Tables 7/23/2013 what is .net

Uniquely Identifying Each Record 7/23/2013 what is .net

Adding Data to the Books Table 7/23/2013 what is .net

Das könnte Ihnen auch gefallen