Review ASP Server controls: Labels, Buttons, Textboxes HTML tables Images and Hyperlinks Validator controls DropDownList ViewState variables Session variables.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

The Image control supports the following properties (this is not a complete list): AlternateText Enables you to provide alternate text for the image (required.
1.NET Web Forms DataGrid © 2002 by Jerry Post. 2 Data Grid Has Many Uses  The grid uses HTML tables to display multiple rows of data. It is flexible.
IT533 Lecture ASP.NET Controls. Installations Microsoft® SQL Server® 2008 Express.
Asp.NET Core Server Controls. Slide 2 Lecture Overview Understanding the types of ASP.NET controls HTML controls ASP.NET (Web) controls.
ASP.NET and ADO.NET. ASP.NET Server Controls Intrinsic Controls: These controls correspond to their HTML counterparts. –Ex. Textbox, listbox, button,
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
ASP.NET Programming with C# and SQL Server First Edition
Overview This presentation covers the initial overview of the different server controls. 2.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
1 Web-Enabled Decision Support Systems Introduction to ASP.NET Prof. Name Position (123) University Name.
Programming with Visual Basic.NET An Object-Oriented Approach  Chapter 8 Introduction to Database Processing.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
MSIS 5133 Advanced MIS - E-Commerce Spring 2003 Lecture 4: DotNet Technologies - Part 4 Using Controls with Databases Dr. Rathindra Sarathy.
Chapter 71 Building Data-Driven ASP.NET Applications Introduction to ASP.NET By Kathleen Kalata.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 4-1 of…
Using FrontPage Express. Slide 1 Standard toolbars and menus Time indicator: gives an approximation of download time of the page.
ASP.Net, Web Forms and Web Controls 1 Outline Web Controls Text and Graphics Controls AdRotator Control Validation Controls.
Web Server Controls MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
ASP.NET Web Server Controls Basic Web Server Controls.
Web Controls Chapter-7. Page  2 Synopsis  Stepping Up to Web controls  Basic Web control classes  Web control classes  Web control Base class  Units,
Chapter 4 – Working with ASP.NET Controls Dr. Stephanos Mavromoustakos.
Microsoft Visual Basic 2008 CHAPTER SEVEN Creating Web Applications.
MIS 3200 – Unit 4.2 ListItem controls – CheckBoxList – ListBox.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
MIS 3200 – Unit 3 What can computers do – Follow a sequence of instructions – Follow different paths of instructions based on decisions – Do things over.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
1 Chapter 12 – Web Applications 12.1 Programming for the Web, Part I 12.2 Programming for the Web, Part II 12.3 Using Databases in Web Programs.
Session 8: ADO.NET. Overview Overview of ADO.NET What is ADO.NET? Using Namespaces The ADO.NET Object Model What is a DataSet? Accessing Data with ADO.NET.
Chapter 8 Working With Databases in ASP.NET. Listing 8.1 – ShowListControls Uses The SqlDataSource control for estabishing database connectivity and.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Class Average Application Introducing the Do...Loop While and Do...Loop Until.
1 Chapter Ten Using Controls. 2 Objectives Learn about Controls How to create a Form containing Labels How to set a Label’s Font How to add Color to a.
TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.
Week Developing Web Applications 12. Programming for the Web A Web Application Runs on a Web Server and Presents Its Content to the User Across a Network,
Select (drop-down list) Inputs. Insert/Form/List Menu.
CSCI 6962: Server-side Design and Programming JSF DataTables and Shopping Carts.
Calendars, DateTime, Variables, and performing calculations on dates WSU – MIS171 Mauricio Featherman, Ph.D.
MIS 3200 – Unit 5.1 Iteration (looping) – while loops – for loops Working with List Items.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Student Grades Application Introducing Two-Dimensional Arrays and RadioButton.
1 CS 3870/CS 5870: Note07 Prog 4. Master Pages Creating a master page based on another master page MainMasterPage –For all Progs and Tests Prog4MasterPage.
Radio Buttons. Input/Form/Radio Group Use the dialog to enter label and values for the radio buttons.
Writing HTML Document HTML Reference M:\Comp\HTML_Ref\Htmlref.hlp.
Event Handling & Viewstate CS 351 Ed Gellenbeck. Today Review of Web Forms ASP.NET Object Hierarchy Events State Management Page State Session State Application.
Using Forms and Form Elements In Visual Basic.NET.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
CSCI 6962: Server-side Desig n and Programming ASP Server Controls.
Chapter 10, Slide 1Starting Out with Visual Basic 3 rd Edition Chapter 11 Developing Web Applications.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
ASP.NET Web Controls.
Visual Basic 2010 How to Program
Developing Web Applications
البرمجة بلغة فيجول بيسيك
مراحل كتابة البرنامج بلغة فيجول بيسك ستديو
مراجعة الحاسب.
المحاضرة الأولى Lab(1) أ.ساره الأحمدي برمجة حاسب 2.
Calendar like the Periodic Table
Using List Controls with SQL Server
Module 05: Building ASP .NET Applications
Web Development Using ASP .NET
Using FrontPage Express
Introduction to HTML: Forms
MIS 3200 – Unit 5.1 Iteration (looping) Working with List Items
Button Web Server Controls
Presentation transcript:

Review ASP Server controls: Labels, Buttons, Textboxes HTML tables Images and Hyperlinks Validator controls DropDownList ViewState variables Session variables Session.Abandon() page.IsPostBack

Preview CheckBox RadioButton ListBox RadioButtonList AccessDataSource control.DataBind() ds.Select() DataView object dv.RowFilter dv(i) DataRowView object drv(“name”)

control.Font properties Size Italic Bold Name

control.Font.Size property with FontUnit value that defines the size of the control’s Font

FontUnit(size) constructor used to define size of font, where size is an Integer

control.Font.Italic Boolean property indicating whether the control’s Font is Italic

control.Font.Bold Boolean property indicating whether the control’s Font is Bold

control.Font.Name String property specifying the name of the control’s Font family

control.AutoPostBack Boolean property indicating whether the control will cause a post back.

rbl.SelectedItem property of type ListItem referring to the RadioButtonList item selected by the user.

listitem.Text listitem.Value properties of the ListItem object

ListItem(“item”,value) Constructs a ListItem object with the specified text and value

control.Items.Add(listitem) Add method of the Items collection of the RadioButtonList adds the specified ListItem object

control.DataBind() Copies values from data source to server control.

ds.Select() Method of the AccessDataSource control that returns a DataView object.

DataView Represents a view of a data table in a data source. Also a collection of DataRowView objects.

dv.RowFilter Property of the DataView object (dv) used to filter rows. Similar to condition of the WHERE clause a SQL Select statement.

DataRowView An object type that represents a single row of data in a DataView

dv(i) Refers to an individual element (a row) of the DataView object dv

drv(“name”) Refers to an the value of a column in the DataRowView object, drv.

Data Table DataView, dv DataRowView, drv drv(“name”) dv(0)

If Not IsPostBack Then DataBind() End If Dim dv As DataView = CType(ds.Select(DataSourceSelectArguments.Empty), DataView) dv.RowFilter = “ID = '" & ddlControl.SelectedValue & "'" Dim drv As DataRowView = dv(0) lblField1.Text = drv(“colname1”) lblField2.Text = drv(“colname2”) lblField3.Text = drv(“colname3”)