Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll
<Asp.net blog>
<personal site>

FREE ASP.net Book by Charles Carroll


C# Beginner Samples
      C# - Access Database DataGrid
      C# - SQLServer Database DataGrid
      C# - Simple Page, Basic Click Events
      C# - Panels instead of Many Pages
      C# - Search Sample
      C# - Your First Library
      C# - Your First Library v2 (subtle improvements)
      C# - Amazon User Control

VB.net Beginner Samples
      VB.net - Page Events Model
      VB.net - DataGrid Display of Access or any OLEB Database
      VB.net - DataGrid Display of SQLserver Database
      VB.net - Typical Search by CC
      VB.net - Your First Library
      User Control:Amazon Book Covers/Links
      User Control:Version2 Amazon Book Covers/Links/Details
      User Control:Version3 Amazon Book Covers/Links/Details

ASP.NET 2.0 General Lessons
      ASP.net 2.0 Master Pages Part #1 by Charles Carroll
      ASP.net 2.0 Master Pages Part #2 by Charles Carroll
      Generic Collections by Ryan Olshan
      Using Statement by Ryan Olshan

C# ASP.NET 2.0 Lessons
      ASP.net 2.0 C# Generics Execute Scalar Helper by Ryan Olshan
      GridView Sorting/Paging w/o a DataSourceControl DataSource by Ryan Olshan
      ASP.net 2.0 C# Generics List Collection Folder Control by Ryan Olshan

VB.NET ASP.NET 2.0 Lessons
      ASP.net 2.0 VB.net Generics Execute Scalar Helper by Ryan Olshan
      GridView Sorting/Paging w/o a DataSourceControl DataSource by Ryan Olshan
      My Namespace by Ryan Olshan

Basics
      Data Files Used In Our Lessons
      Validation Controls
            http://www.learnasp.com/quickstart/aspplus/doc/webvalidation.aspx

      RegExLib.com - get your FREE RegExes here and rate them
            http://www.regexlib.com

      DOM Compliant Validator Controls
            http://authors.aspalliance.com/stevesmith/articles/ViewArticle.aspx?id=38

      Dates and Times DeMystified
            http://geekswithblogs.net/mtreadwell/archive/2004/05/21/5214.aspx

      HashTable Basics
      Scrape Website w/System.Net classes
      Table Building with Objectsdebug1.aspx

Separate Code and HTML
      Literal Controls Rock! Blows Away response.write
      Visual Inheritance: Separate Code/Presentation
      Controls Added Dynamically

Debug
      Trace.axd / Post Mortem Debugging
      Tracing at Page Level

GDI+
      User Control: TextToGraphic
      Graphic on the Fly

Language Differences
      VB to C# conversion: ExecuteScalar by Jeff SchoolCraft

Databases
      RadioButton List, CheckBox List
      DropDownList from Database
      DropDownList Core Methods
      Repeater to display HTML from database
      DataList to Display multi-column HTML from database
      Stupid Databinding Tricks
      Container.DataItem thorough explanation by Susan Warren
            http://weblogs.asp.net/rajbk/archive/2004/07/20/188868.aspx

      ADO.net: ExecuteScalar for One Value
      ADO.net: ExecuteNonQuery for action queries
      ADO.net: DataReader
      ADO.net DataTables to read many records into RAM
      ADO.net Dataset Overview
      DataView Sample
      DataTables: Uniquing a Column
      DataTables: Uniquing a Column / Reusable

Search and Edit Samples
      Publisher Edit Form on 2 pages by Shane Bauer
      Edit Database Sample - Northwind
      Edit Database Sample - Publishers
      Flex Database Sample - Multi-value and Variable Length fields

DataGrids
      DataGrid: Code Only
      DataGrid: Customize Column Names and Value
      VB.net - DataGrid Editing
      C# - DataGrid Editing
      Grid Events
      Student: XML Book Editing by PC
      Student: XML Book Editing with Insert By PC

User Controls
      UCs: Header and Footer Example
      UCs: Database List Boxes
      UCs: Loading Programatically Amazon Books
      UCs: Nesting UCS - Amazon Books
      UCs: Database Search w/Cached User Controls
      UCs: Database Search w/Functional DropDowns
      UCs: Source Code viewer By Directory
      UCs: Website Scraper

Third Party Libraries
      Log4Net Sample #1 by Charles Carroll
      IBatis Database Sample by Mohammed Mudassair

Third Party Server Controls
      Master Pages FREE TODAY works in 1.0/1.1
      Master Pages (many content regions) FREE, works in 1.0/1.1
      Server Control: Rounded Corners by Scott Mitchell
      Server Control: IE WebControls by Microsoft
      EasyListBox.com - Rich HTML dropdown lists with graphics
      EasyListBox.com - Combo box
      EasyListBox.com - Swapper listbox
      EasyListBox.com - Dependent listboxes... with no extra code!
      EasyListBox.com - Search with dependent lists and NO DATABINDING CODE AT ALL!

Server Controls
      Server Control: Shuffler Example
      Server Control: Shuffler Source
      Server Control: Shuffler Source
      Server Control:VB.net Amazon

Speed Optimization
      Page Output Caching
      Caching & Scalability
      Caching Data

Utility Belt - FREE Reusable Library
      Introduction to Utility Belt!
      Documentation
      Documentation Part 2: DbPopulate and spDBPopulate
      Documentation Part 3: Options
      Library file to cut and paste
      Credits for Utility Belt
      FAQ: Objections/Refutes about UB use
      Inheritance Example
      Visual Studio Tips
      UtilityBelt.config Sample
      Future plans for Utility Belt

Utility Belt - Database Tools
      Demo: DataBinding to WebControl
      Demo: ExecuteScalar - Grab 1 value frowm Query
      Demo: DataBinding to a DataView
      Demo: DataReader Creation
      Demo: Access Search Sample
      Demo: SQLserver Sproc No Parameter Sample
      Demo: SQLserver Sproc Parameters Sample
      Demo: SQLServer SProc to Datatable Support
      Demo: SQLServer Stored Procedure Search Example
      Demo: Cached Access Search Sample
      Demo: VB.net SQLserver Search Sample
      Demo: VB.net SQLserver Cached Search Sample

Utility Belt - Debugging Tools
      Demo: Xray - trace datasets, hashtables, arrays,etc.
      Demo: Xray Contents To Page for Improved Display Over Trace
      Demo: Error Trapping Well Integrated
      Demo: Error Handling Capablities

Utility Belt - C# Samples
      Demo: C# Xray Sample
      Demo: C# SQLserver Search Sample

Utility Belt - Email Samples
      Demo: EMail Capabilities
      Demo: EMail MailMsgTest - test if message can be sent....

Utility Belt - I/O Helpers Files, HTTP
      Demo: Grab URL contents with HTTPGrab
      Demo: HttpPost / Submit to other websites
      Demo: Read ASCII File into Array
      Demo: Read ASCII File into String
      Demo: Write ASCII File from string
      Demo: Write ASCII File from Array
      Demo: Append File from String

Utility Belt - Web Services
      Demo: Amazon ASINSearch
      Demo: Amazon Author from Book Parser
      Demo: Amazon wsAmazonKeywordSearch
      Demo: Amazon wsAmazonBrowsenodeSearch
      Demo: Amazon wsAmazonThirdPartySellerSearch
      Demo: Amazon wsAmazonMarketplaceSearch
      Demo: Amazon wsAmazonUpcSearch
      Demo: Amazon wsAmazonExchangeSearch
      Demo: Amazon wsAmazonAuthorSearch
      Demo: Amazon wsAmazonArtistSearch

Utility Belt - SQL Tools
      Demo: DbExec and SQLgenerateInsert
      Demo: SQLGenerateUpdate to make SQL strings easy to build
      Demo: SQLGenerateInsert to make SQL strings easy to build

Utility Belt - Document Tools
      Demo: Table of Contents Via XML
      Demo: Table of Contents Prev/Next Page Via XML
      Demo: ScriptColorCode
      ShowCode.config for ScriptColorCode

XML
      XML to a DataGrid Part 1
      XML to a DataGrid Part 2
      XML control
      XMLTextReader - Easier than DOM, great for huge files
      XMLTextReader - Amazon WS XMSL Sample
      XMLTextWriter - write well formed XML files the easy way
      XMLDOM reader
      XML Xpath Navigator Object Reader
      Yahoo Store file into dataset
      Yahoo Store Web
      C# - XML To DataSet
      C# - XMLParser
      VB.net - XML To DataSet
      VB.net - XMLParser

WebServices
      Amazon Web Services: Simple Example
      Amazon Web Services: MakeFile Example
      Amazon Web Services: Interactive Example
      C# - Web Service Sample

Appendix A:AspTraining.com Student Samples
      Student: Typical Search by AJ
      Student: Myers Briggs Example by SC
      Student: RegEx Notes #1 by Jeff SchoolCraft
      Student: RegEx Notes #2 by Jeff SchoolCraft
      Student: RegEx Meyer-Briggs "brute force" by Anil John
      Student: RegEx Meyer-Briggs simplified w/Groups by Jeff SchoolCraft

Appendix B:Overview of ASP.net
      Web.Config
      Differences between Classic ASP and ASP.net
      App Blocks for ASP.net
      Error Handling: Try, Catch, etc.
      Crashproof Features
      Managed Code
      Multiple Languages and .NET

Appendix C: Must Have Books
      Asp.net Unleashed
            http://www.amazon.com/exec/obidos/ISBN=0672320681/learnasp

      Core ADO.net Refrence
            http://www.amazon.com/exec/obidos/ISBN=0735614237/learnasp

      VB.net In a Nutshell
            http://www.amazon.com/exec/obidos/ISBN=0596003080/learnasp

      Beginning VB.net XML
            http://www.amazon.com/exec/obidos/ISBN=1861007787/learnasp

      Visual Basic.net or C#... Which to Choose?
            http://www.amazon.com/exec/obidos/ISBN=B00005YX8N/learnasp

      The Goal
            http://www.amazon.com/exec/obidos/ISBN=1565114248/learnasp


Appendix D: Visual Studio Tips and Tricks
      Keyboard Shortcut
            http://safari.oreilly.com/?XmlId=0-596-00360-9/mastvsnet-APP-C


Appendix E: Mixing Client Script and ASP.net
      JavaScript Dependent Lists from Database by Charles Carroll and Paul Chu

Chaz Wish List
Tall Tip $5
Grande Tip $20
Venti Tip $39
Tip Jar Thanks
2004 Thanks
2005 Thanks
HUGE Tip -love site