TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 2Creating Forms and Reports Chapter 6Creating Reports and Mailing Labels.
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
User Controls, Master Pages, GridView. Content User Controls Styles, Themes, Master Pages Working with Data GridView Muzaffer DOĞAN - Anadolu University2.
Chapter 9 Customizing Data with Web Controls. ASP.NET 2.0, Third Edition2.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Creating Bindable Grids of Data. Slide 2 Lecture Overview Detailed discussion of using the GridView.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Building ASP.NET Applications 2 Lecture 3,4 T. Ahlam Algharasi 4 th Level.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
ACCESS – CHAPTER 4 ZNANATEJ PANGA October 27, 2014.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Chapter 3 Maintaining a Database
Some Basic Database Terminology
Chapter 8 Binding Data to Web Controls. ASP.NET 2.0, Third Edition2.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Databases and LINQ Visual Basic 2010 How to Program 1.
Chapter 10 Managing Data with ASP.NET. ASP.NET 2.0, Third Edition2.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Web Technologies Website Development Trade & Industrial Education
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
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.
Website Development with Dreamweaver
ASP.NET Web Server Controls Basic Web Server Controls.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
CIS 375—Web App Dev II ASP.NET 10 Database 2. 2 Introduction to Server-Side Data Server-side data access is unique in that Web pages are basically ___________.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Chapter 4: Create, Edit, and Perform Calculations in Reports Exploring Microsoft Office Access 2007.
Key Applications Module Lesson 21 — Access Essentials
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. Data Binding in ASP.NET.
ASP.NET - accessing the database - datareader vs dataset - datagrid vs datalist - brief look at web matrix.
Chapter 8 Working With Databases in ASP.NET. Listing 8.1 – ShowListControls Uses The SqlDataSource control for estabishing database connectivity and.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Data Binding with Tabular Data Control. Objective To understand Dynamic HTML data binding. To be able to sort and filter data directly on the client without.
Who Wants to be a Millionaire? LIFELINES 1.50/50 2.Poll the audience 3.Ask Another Student.
Reference: “ASP.NET 2.0 Illustrated” by Alex Homer and Dave Sussman. -ch3 illustrated book
Microsoft FrontPage 2003 Illustrated Complete Designing Web Pages with Layout Tables.
Databases Competency Explain advanced database concepts and functions.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Data Listing Web Controls MacDonald Ch MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
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.
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.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
DAY 18: ACCESS CHAPTER 3 Tazin Afrin October 22,
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Module 10: Data Access in ASP.NET. Overview Overview of the ASP.NET Data Access What is Data Access List of Data Source Control What is Data Bound How.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
1 Organizing Information in Tables A table is information arranged in horizontal rows and vertical columns When you first insert a table into a document,
Microsoft Access 2016 Simplify Data Entry with Forms
Unit I: Collecting Data with Forms
Creating Bindable Grids of Data
Using List Controls with SQL Server
Database Applications
Web Development Using ASP .NET
Chapter 10 Accessing Database Files
Lesson 13 Working with Tables
Presentation transcript:

TRAINING SESSIONS.NET Controls

 Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink  Panel

 Validation Controls  Required Field Validator  Range Validator  Compare Validator  Regular Expression Validator  Custom Validator  Validation Summary

 Datasource Controls  SQL Datasource  XML Datasource  Object Datasource  Access Datasource  Sitemap Datasource

 Data Bound Controls  Grid View  List View  Details View  Form View  Repeater  Data List  Drop Down List

 Displays tabular data  Display, edit, and delete data from many different kinds of data sources, including databases, XML files, and business objects that expose data.  Automatically bind to and display data from a data source control.  Select, sort, page through, edit, and delete data from a data source control.  Specifying custom columns and styles.  Adding your own code to the functionality of the control by handling events. Grid View

 DatasourceID  Bind to datasource control  DataSource  Bind to various objects Datasets Data tables Collections Grid View - Data binding

Grid View - Data binding using DatasourceID

Grid View - Data binding using DataSource

 Enable AllowSorting property to true  Setting PageSize for paging Grid View - Sorting

 Enable AllowPaging property to true  Column headers are rendered as links for sorting the data in ascending or descending order  When using explicitly specified fields with a GridView, such as BoundFields, you need to specify values for the fields’s SortExpression properties.  Otherwise, nothing happens when you click a header. Grid View - Paging

 Enables you to edit database data  Without writing single line of code Grid View – Editing and Deleting Data  Set AutoGenerateEditButton and AutoGenerateDeleteButton to true  Set DataKeyNames property to Primary key of the database table  UpdateCommand and DeleteCommand are to be specified in the SQLDataSource being used

 BoundField—Enables you to display the value of a data item as text.  CheckBoxField—Enables you to display the value of a data item as a check box.  CommandField—Enables you to display links for editing, deleting, and selecting rows.  ButtonField—Enables you to display the value of a data item as a button (image button, link button, or push button).  HyperLinkField—Enables you to display the value of a data item as a link. Grid View – Fields

 BoundField—Display the value of data item as text.  CheckBoxField—Display the value of data item as a check box.  CommandField—Enables you to display links for editing, deleting, and selecting rows.  ButtonField—Enables you to display the value of a data item as a button  HyperLinkField—Enables you to display the value of a data item as a link.  ImageField—Enables you to display the value of a data item as an image.  TemplateField—Enables you to customize the appearance of a data item. Grid View – Fields

 Renders HTML table  Displays the contents of single database record Detail View

 Display, edit, and delete data single record at a time.  Specifying custom columns and styles.  Adding your own code to the functionality of the control by handling events. Detail View

 DatasourceID  Bind to datasource control  DataSource  Bind to various objects Datasets Data tables Collections Detail View - Data binding

Detail View - Data binding using DatasourceID

Detail View - Data binding using DataSource Client Side Code Server Side Code

 Similar to Detail View.  Template Driven Form View

Form View - Data binding using DatasourceID

 Entirely template driven  Produces list of individual items  The control repeats the layout for each item in the data source. Repeater

Repeater- Data binding using DatasourceID

Repeater- Templates  ItemTemplate —Formats each item from the data source.  AlternatingItemTemplate—Formats every other item from the data source.  SeparatorTemplate—Formats between each item from the data source.  HeaderTemplate—Formats before all items from the data source.  FooterTemplate—Formats after all items from the data source.

 Entirely template driven  Renders HTML table  Supply the control with an ItemTemplate.  The contents of the ItemTemplate are rendered for each data item from the data source. DataList

 The RepeateLayout Property  Table – Data Items are rendered in HTML Table cells  Flow - – Data Items are rendered in HTML Span tags  Render contents in Multi- Column table  RepeatColumns – No of columns  RepeatDirection – Direction of repeat (Horizontal/Vertical)  Editing in DataList is different, it requires programmatic approach DataList

 Super flexible GridView Control  Entirely Template Driven  Used to display, edit, delete and sort database data  Displays database records in multiple columns  Similar to the DataList and Repeater controlsDataListRepeater  Unlike those controls, with the ListView control you can enable users to edit, insert, and delete data, and to sort and page data, all without code.ListView  You can group items using Group Template List View

 Learn and prepare document for Standard Controls  Difference between data controls  Implement a Grid View using  DatasourceID  DataSource  Implement Edit/Delete and Sort/Paging functionality in Grid View  Explore events of Grid View  Implement simple functionality of all controls listed in this ppt