Scott on Writing

Musings on technical writing...

More Tutorials on Working with the DataList... and More Tutorials in the Pipeline!

Eight new tutorials have been added to my Working with Data in ASP.NET 2.0 series. This latest batch of tutorials examines how to edit and delete data from the DataList control. These tutorials follow, in scope, the concepts discussed in the earlier edit/insert/delete-related tutorials that focused on the GridView, DetailsView, and FormView controls. These DataList-specific tutorials, however, do include a look at performing batch updates (a topic lacking from the GridView/DetailsView/FormView-specific ones). As always, each tutorial is available in both VB and C#, includes the full working code as a downloadable ZIP, and can be downloaded as a PDF for offline access.

When I started writing these tutorials I was slated to write 46 in total, and, to date, 43 of the 46 are up at http://www.asp.net/Learn/DataAccess/. (They are also being added to MSDN's website, but at a much more glacial pace.) Anywho, the good news is that I've signed on to author another 29 tutorials over the coming months, which will continue the series and be available at http://www.asp.net/Learn/DataAccess/ as they come online.

Here is the planned outline. The content to be covered is pretty much solidified, but there may be some slight modifications, reordering of sections/tutorials, and so forth. I've actually completed the “set” of tutorials on the SqlDataSource (the first four), and will start hammering out the next set this week, time permitting.

  1. Accessing Database Data Directly from an ASP.NET Page
    1. Querying Data with the SqlDataSource Control
    2. Using Parameterized Queries with the SqlDataSource 
    3. Inserting, Updating, and Deleting Data with the SqlDataSource Control
    4. Implementing Optimistic Concurrency with the SqlDataSource
  2. Enhancing the GridView
    1. Adding a GridView Column of Radio Buttons
    2. Adding a GridView Column of CheckBoxes
    3. Inserting a New Record from the GridView’s Footer
  3. Working with Batched Data
    1. Batch Updating
    2. Batch Deleting
    3. Generating Multiple Details Records Which Copy Multiple Columns of Data From a Common Master
  4. Working With Binary Files
    1. Uploading Files
    2. Including a File Upload Option When Adding a New Record
    3. Displaying File Information in the Data Web Controls
    4. Changing the Uploaded File for an Existing Record
  5. Caching
    1. Caching Data with the ObjectDataSource
    2. Caching Data at the Business Logic Layer
    3. Using SQL Cache Dependencies
    4. Caching Data at Application Startup
  6. Data and the Site Map Provider
    1. Building a Custom Database-Driven Site Map Provider
  7. Advanced Data Access Layer Scenarios
    1. Having the Typed DataSet Create Your Stored Procedures
    2. Integrating Existing Stored Procedures with the TableAdapter
    3. Techniques for Performing JOINs
    4. Adding Additional DataTable Columns
    5. Working with Computed Columns
    6. Configuring Connection- and Command-Level Settings in the DAL
    7. Wrapping Database Modifications in a Transaction
    8. Debugging Stored Procedures
    9. Protecting connection strings
    10. Creating SQL Functions and Stored Procedures with Managed Code

posted on Tuesday, October 31, 2006 12:53 PM

Feedback

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/1/2006 2:46 AM ScottyW

Is there any chance that you will be to write a tutorial about how to integrate BLL DAL and the Enterprise Library Data Access? Cheers, Scotty

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/1/2006 2:12 PM Gregor Suttie

Scott

These tutorials are sheer class. Please keep them going as I am working my way (slowly) through them and I have learnes a tonne of stuff.

Thanks - keep up the great work.

Gregor

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/3/2006 7:25 AM chon

hey great tutorial Scott. thanks for everything
I know it more about data... but would it be possible to have it with localization/globalization enable.. like have the option to have the site in English or French

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/8/2006 3:49 AM Johan

Great tutorials Scott. I have one question about dynamic sitemaps.

Can you have two diffrent dynamic sitemaps on a site? if its possible how do I manage this.

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/9/2006 4:57 AM Patrick

Scott,

As far as i can see all the data comes from datatables and more or less directly from the DAL (and therefore directly from the database.. more or less).

How do i go about extending the BLL so it also includes classes for e.g. one product instead of a datarow from the product's datatable?

Patrick

# re: More Tutorials on Working with the DataList... and More Tutorials in the Pipeline! 11/10/2006 8:31 PM Brian Dunham

Hey Scott. I'm not sure if you remember me, but I was your RA on 6N back in Rolla (the good old days of playing Goldeneye and WCW/NWO Revenge in James' dorm room). It looks like you're doing well. Nice work on the blog.

# Returning the First Day of the Month from a Given Date/Time value in SQL Server 12/5/2006 9:19 PM Scott on Writing

# Returning the First Day of the Month from a Given Date/Time value in SQL Server 12/5/2006 9:36 PM Community Blogs

First off, it's been a long time since my last post, close to a month! Things have been very busy between

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<March 2010>
SMTWTFS
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Comment Stats

DayTotal% of Total
Sunday 2056.8%
Monday 42514.1%
Tuesday 51917.2%
Wednesday 55618.4%
Thursday 58019.2%
Friday 54718.1%
Saturday 1886.2%
Total 3020100.0%

Hour1Total% of Total
12:00 AM 782.6%
1:00 AM 812.7%
2:00 AM 682.3%
3:00 AM 822.7%
4:00 AM 692.3%
5:00 AM 1264.2%
6:00 AM 1193.9%
7:00 AM 1816.0%
8:00 AM 1926.4%
9:00 AM 1585.2%
10:00 AM 1886.2%
11:00 AM 1936.4%
12:00 PM 2016.7%
1:00 PM 1846.1%
2:00 PM 1695.6%
3:00 PM 1354.5%
4:00 PM 1153.8%
5:00 PM 1073.5%
6:00 PM 1013.3%
7:00 PM 1073.5%
8:00 PM 923.0%
9:00 PM 882.9%
10:00 PM 913.0%
11:00 PM 953.1%
Total 3020100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.00160
Monday 4.80384
Tuesday 4.04477
Wednesday 7.39680
Thursday 6.26676
Friday 5.07466
Saturday 4.78177
Total 5.403020

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 3.8550
8:00 AM 3.72134
9:00 AM 6.06297
10:00 AM 5.63276
11:00 AM 4.22194
12:00 PM 6.16351
1:00 PM 3.09133
2:00 PM 4.89230
3:00 PM 7.67322
4:00 PM 4.00108
5:00 PM 6.07170
6:00 PM 4.64116
7:00 PM 8.95188
8:00 PM 8.63164
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.403020

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles