Scott on Writing

Musings on technical writing...

Four New "Working with Data in ASP.NET 2.0" Tutorials Now Available

My Working with Data in ASP.NET 2.0 tutorials have been updated to include the four newest tutorials, which look at working with binary data (images, PDFs, MP3s, Word docs, and so on). The four tutorials extend the Categories table in the Northwind database by adding fields that allow users to associate an image and a PDF brochure with each category. The image binary data is stored directly within the Categories table, while the PDF brochure is stored on the web server's file system. Each tutorial builds upon the previous ones, and by the culmination of the fourth tutorial you'll have built screens for inserting, updating, deleting, and displaying binary data.

The four tutorials in this section are:

  • Uploading Files [VB | C#] - illustrates how binary data can be stored on the web server file system or directly within the database, and pros and cons of both approaches. Examples show using the FileUpload control to upload a binary file from the visitor's computer to the web server and how to save it on the web server's file system or directly within the database.
  • Displaying Binary Data in the Data Web Controls [VB | C#] - looks at how to display binary data within the GridView. For images, this may mean showing the image within each GridView row. For other file types, this likely means a link that, when clicked, takes the user to the binary data or prompts them to save it on their computer. Again, examples of binary files stored on the file system and within the database are provided.
  • Including a File Upload Option When Adding a New Record [VB | C#] - learn how to augment the DetailsView to include a FileUpload control, allowing a visitor to add a new record to the database while uploading associated binary data.
  • Updating and Deleting Existing Binary Data [VB | C#] - once binary data has been associated with a database record, we may need to update or delete the binary data or delete the record in its entirety.

Like the previous tutorials in the series, all tutorials are available in C# and VB, include the complete code download as a self-extracting ZIP, and are available in PDF format.

Happy Programming!

posted on Tuesday, March 27, 2007 9:24 AM

Feedback

# re: Four New "Working with Data in ASP.NET 2.0" Tutorials Now Available 3/28/2007 9:53 AM Jeremy Kane

Scott,

Will these tutorials be published in book form once completed? I prefer to have tutorials in front of me, on paper, as I work through them, and I can't imagine how much it would cost me to print all of them out. I'd rather spend the money on a nicely bound, indexed book with the same content.

Barring that, will there be a single PDF of all of the tutorials, so at least we will be able to print out a single document instead of 60+ individual files?

Thanks for the great work so far!

# re: Four New "Working with Data in ASP.NET 2.0" Tutorials Now Available 3/28/2007 5:51 PM Scott Mitchell

Jeremy, I doubt there will be a book format available, nor a "all tutorials wrapped up into one PDF"-format, either. I requested such a "combined PDF" when the data tutorials were fairly new and we decided this was a lower priority item. In part because it adds time/work when corrections/changes are made in earlier tutorials.

Sorry.

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