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   

Add To Your Reader

My Links

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<May 2008>
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Comment Stats

DayTotal% of Total
Sunday 1866.8%
Monday 37913.9%
Tuesday 45316.7%
Wednesday 50418.5%
Thursday 53519.7%
Friday 49418.2%
Saturday 1666.1%
Total 2717100.0%

Hour1Total% of Total
12:00 AM 652.4%
1:00 AM 682.5%
2:00 AM 622.3%
3:00 AM 742.7%
4:00 AM 572.1%
5:00 AM 1033.8%
6:00 AM 1084.0%
7:00 AM 1585.8%
8:00 AM 1716.3%
9:00 AM 1475.4%
10:00 AM 1716.3%
11:00 AM 1816.7%
12:00 PM 1886.9%
1:00 PM 1696.2%
2:00 PM 1605.9%
3:00 PM 1324.9%
4:00 PM 1073.9%
5:00 PM 923.4%
6:00 PM 913.3%
7:00 PM 963.5%
8:00 PM 833.1%
9:00 PM 782.9%
10:00 PM 792.9%
11:00 PM 772.8%
Total 2717100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.54144
Monday 5.22339
Tuesday 4.28419
Wednesday 7.67637
Thursday 6.90607
Friday 5.48411
Saturday 5.33160
Total 5.842717

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.35107
9:00 AM 6.32278
10:00 AM 6.47246
11:00 AM 4.41181
12:00 PM 6.88330
1:00 PM 3.00111
2:00 PM 5.41222
3:00 PM 8.64285
4:00 PM 4.0589
5:00 PM 5.92154
6:00 PM 4.52113
7:00 PM 9.67174
8:00 PM 9.80147
9:00 PM 5.05111
10:00 PM 5.4265
11:00 PM 4.5732
Total 5.842717

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


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles