ASP.NET Data Presentation Controls Essentials


ASP.NET Data Presentation Controls Essentials
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$14.39
save 40%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters

 

  • Systematic coverage of major ASP.NET data presentation controls
  • Packed with re-usable examples of common data control tasks
  • Covers LINQ and binding data to ASP.NET 3.5 (Orcas) controls

 

Book Details

Language : English
Paperback : 256 pages [ 235mm x 191mm ]
Release Date : December 2007
ISBN : 1847193951
ISBN 13 : 9781847193957
Author(s) : Joydip Kanjilal
Topics and Technologies : All Books, Microsoft Development , Web Development, Enterprise, Microsoft, .NET


Table of Contents

Preface
Chapter 1: Introduction to Data Binding in ASP.NET
Chapter 2: Working with List Controls in ASP.NET
Chapter 3: Working with the Repeater Control
Chapter 4: Working with the DataList Control
Chapter 5: Working with the DataGrid Control in ASP.NET
Chapter 6: Displaying Views of Data (Part I)
Chapter 7: Displaying Views of Data (Part II)
Chapter 8: Working with LINQ
Index
  • Chapter 1: Introduction to Data Binding in ASP.NET
    • The ASP.NET Data Binding Model
    • Using the Data Binding Expressions
      • The Employee and the Data Manager Classes
    • New Data Source Controls in ASP.NET 2.0
      • The Object Data Source Control
        • Object Data Source Control Methods
      • The SQL Data Source Control
        • Using the SQL Data Source Control
      • The Access Data Source Control
        • Using the Access Data Source Control
      • The XML Data Source Control
        • Using the XML Data Source Control
    • User Interface and Data Source Paging
    • User Interface and Data Source Sorting
    • Filtering Data Using the Object Data Source Control
    • Summary
  • Chapter 2: Working with List Controls in ASP.NET
    • The ASP.NET List Controls
      • Working with the ListBox Control
        • Appending List Items to the ListBox Control
        • Selecting One or More List Items
        • Removing List Items from the ListBox Control
        • Binding Data to the ListBox Control
        • Handling ListBox Control Events
      • Working with the DropDown List Control
        • Appending List Items to the DropDownList Control
        • Selecting a List Item
        • Removing List Items from the DropDownList Control
        • Binding Data to the DropDownList Control
        • Handling DropDownList Control Events
        • Associating Event Handlers to a dynamically generated DropDownList Control
        • Implementing a Simple Application
      • Working with the CheckBoxList Control
        • Appending List Items to the CheckBoxList Control
        • Selecting One or More List Items
        • Removing List Items from the CheckBoxList Control
        • Binding Data to the CheckBoxList Control
        • Handling CheckBoxList Control Events
        • Implementing a CustomCheckBoxList Control
      • Working with the BulletedList Control
        • Appending List Items to the BulletedList Control
        • Selecting a List Item
        • Removing List Items from the BulletedList Control
        • Binding Data to the BulletedList Control
        • Handling BulletedList Control Events
      • Working with the RadioButtonList Control
        • Appending List Items to the RadioButtonList Control
        • Selecting a List Item
        • Removing List Items from the RadioButtonList Control
        • Binding Data to the RadioButtonList Control
        • Handling RadioButtonList Control Events
    • Summary
  • Chapter 3: Working with the Repeater Control
    • The ASP.NET Repeater Control
      • Using the Repeater Control
      • Displaying Data Using the Repeater Control
      • Displaying Checkboxes in a Repeater Control
    • Implementing Data Paging Using the Repeater Control
      • The BindPagedData() Method
      • Navigating through the Pages
    • Sorting Data Using the Repeater Control
      • Revisiting the DataManager Class
    • Filtering Data Using the Repeater Control
    • Handling Repeater Control Events
    • Summary
  • Chapter 5: Working with the DataGrid Control in ASP.NET
    • The ASP.NET DataGrid Control
      • Creating a DataGrid Control
    • Implementing a Sample Application Using DataGrid Control
      • Displaying Data
      • Styling the DataGrid Control
      • Appending Data Using the DataGrid Control
      • Editing Data Using the DataGrid Control
      • Deleting Data Using the DataGrid Control
      • Paging Using the DataGrid Control
    • Summary
  • Chapter 6: Displaying Views of Data (Part I)
    • The ASP.NET GridView Control
      • Comparing DataGrid and GridView Controls
      • Displaying DropDownList in a GridView Control
      • Displaying CheckBox in a GridView Control
      • Change the Row Color of GridView Control Using JavaScript
      • Displaying Tool Tip in a GridView Control
      • Paging Using the GridView Control
    • Implementing a Hierarchical GridView
      • Sorting Data Using the GridView Control
      • Inserting, Updating and Deleting Data Using the GridView Control
      • Exporting the GridView Data
      • Formatting the GridView Control
    • Summary
  • Chapter 7: Displaying Views of Data (Part II)
    • Working with the ASP.NET DetailsView Control
      • Using the DetailsView Control
    • Working with the ASP.NET FormView Control
      • Formatting Data Using the FormView Control
    • Working with the ASP.NET TreeView Control
    • Implementing a Directory Structure as a TreeView
    • Summary
  • Chapter 8: Working with LINQ
    • Introducing LINQ
      • Why LINQ?
    • Understanding the LINQ Architecture
      • Operators in LINQ
    • Querying Data Using LINQ
    • The New Data Controls in VS.NET 2008 (Orcas)
      • Using the ListView Control
      • Using the DataPager Control
    • Data Binding Using LINQ
    • Summary

Joydip Kanjilal

Joydip Kanjilal is a Microsoft Most Valuable Professional in ASP.NET, a speaker, and the author of several books and articles. He has over 16 years of experience in the IT industry, with more than 10 years using Microsoft .NET and its related technologies. He was selected as the MSDN Featured Developer of the Fortnight a number of times and also as the Community Credit Winner by www.communitycredit. com several times. He has authored the following books:

  • Visual Studio Six in One (Wrox Publishers)
  • ASP.NET 4.0 Programming (Mc-Graw Hill Publishing)
  • Entity Framework Tutorial (Packt Publishing)
  • Pro Sync Framework (APRESS)
  • Sams Teach Yourself ASP.NET Ajax in 24 Hours (Sams Publishing)
  • ASP.NET Data Presentation Controls Essentials (Packt Publishing)

He has also authored more than 250 articles for some of the most reputable sites, such as www.msdn.microsoft.com, www.code-magazine.com, www.asptoday.com, www.devx.com, www.ddj.com, www.aspalliance.com, www.aspnetpro.com, www.sql-server-performance.com, and www.sswug.com. A lot of these articles have been selected at www.asp.net—Microsoft's official website on ASP.NET.

He has years of experience in designing and architecting solutions for various domains. His technical strengths include C, C++, VC++, Java, C#, Microsoft .NET, Ajax, WCF, REST, SOA, Design Patterns, SQL Server, Operating Systems, and Computer Architecture.

For more details, please refer to the following links:

  • Blog: http://aspadvice.com/blogs/joydip
  • Website: www.joydipkanjilal.com
  • Twitter: https://twitter.com/joydipkanjilal
  • Facebook: https://www.facebook.com/joydipkanjilal
  • LinkedIn: http://in.linkedin.com/in/joydipkanjilal
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 30 Dec 2011

page 12 Technical issue 28 Jan 08
In the code snippet on page 12, quotations have been replaced by another character,<br />«. The correct code is as follows:<br />conn = new SqlConnection(connectionString); conn.Open();<br />string sql = "select EmpCode, EmpName, Basic,<br />JoiningDate, DeptCode from employee e, Department<br />d where e.DeptID = d.DeptID and <br />d.DeptCode = '" + deptCode + "'";<br />SqlCommand cmd = new SqlCommand(sql, conn);<br />SqlDataReader dr = cmd.ExecuteReader();<br />employeeList = new ArrayList();<br />while (dr.Read())<br />{<br />Employee emp = new Employee();<br />if (dr["EmpCode"] != DBNull.Value)<br />emp.EmpCode = dr["EmpCode"].ToString();<br />if (dr["EmpName"] != DBNull.Value)<br />emp.EmpName = dr["EmpName"].ToString();<br />if (dr["Basic"] != DBNull.Value)<br />emp.Basic = Convert.ToDouble(dr["Basic"].<br />ToString());<br />if (dr["JoiningDate"] != DBNull.Value)<br />emp.JoiningDate =<br />Convert.ToDateTime(dr["JoiningDate"].<br />ToString());<br />if (dr["DeptCode"] != DBNull.Value)<br />
 

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

ASP.NET Data Presentation Controls Essentials +    ASP.NET jQuery Cookbook =
50% Off
the second eBook
Price for both: $34.95

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

 

  • Displaying tables of data with the Repeater, DataGrid, DataList, and GridView controls
  • Displaying hierarchical data using ASP.NET data controls
  • Paging and sorting data using the Repeater, DataGrid, and GridView controls
  • Binding data to ASP.NET 2.0 controls like ObjectDataSource, AccessDataSource, and XMLDataSource
  • Inserting, Updating, and Deleting data using all major data controls in ASP.NET
  • Exporting GridView control to MS Excel and MS Word
  • Extending the existing data controls to build custom controls
  • Using LINQ to bind data to the new data controls introduced in ASP.NET 3.5 (Orcas)

 

In Detail

The ASP.NET Data Presentation Controls are server controls to which you can bind data to organize and display it in different ways.

This book shows you how to get the most from these controls to easily display and manage complex data in your web applications. It takes you through each of the major data presentation controls in ASP.NET, gets you started using them, and then shows you how to use them in your applications for managing your data.

This book shows you how to get the most from the ASP.NET data presentation controls to easily display and manage complex data in your web applications

Approach

This book takes you through the most important tasks for working with the ASP.NET data presentation controls. Packed with example code and clear explanations, this book will make you a master of these controls in no time.

Who this book is for

This book is for ASP.NET developers who want to display or manage data in ASP.NET applications. The code examples are in C#.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software