Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 1st, 2008, 05:30 PM
Authorized User
Join Date: Aug 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add/Update/Delete Database records MANUALLY

Hey everyone -

I am busily reading my way through this book, and am enjoying learning all the new toys that .NET 3.5 has to offer.

However, I am an old ASP3 coder and really enjoyed writing the code on my own for querying the database to populate the drop down list and multi line text fields, etc... Not to mention to add, edit or delete database records.

This book really dwells on the new gridview, detail view, and other 'built-in' controls.

Can anyone direct me to any how-tos or other books that detail how to do these things on your own without the use of these controls?

MUCH appreciated - thanks!
Reply With Quote
  #2 (permalink)  
Old December 1st, 2008, 06:04 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

You could check out the ADO.NET Quick Starts here:


Alternatively, get a copy of

- Professional ADO.NET 2: Programming with SQL Server 2005, Oracle, and MySQL
- Professional ASP.NET 3.5: In C# and VB (Chapter 8 deals with ADO.NET in an ASP.NET context)

While I understand your desire to write code yourself (I come from an classic ASP background myself), make sure you always make the right balance between "then" and "now". Back then, it was necessary to write a lot of code yourself in order to get anything done. Nowadays, with smart controls like the ListView, that's often no longer necessary.

I think you'll be interested in controls like the ObjectDataSource (discussed in the Pro ASP.NET book as well). They give you all the fancy features on the front-end (design time support, inserting, updating and so on) while they target your custom entities that use custom written ADO.NET code.

You may also want to take a look at my articles on N-Layer design that show a lot of custom written code (I don't dwell on simple front end controls alone :)).

The first series, on ASP.NET 2.0 can be found here:


The second series targeting ASP.NET 3.5 (part 1 was published last week, the rest will come in the next months) can be found here:




Imar Spaanjaars
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
jminatel (December 14th, 2008)
  #3 (permalink)  
Old December 14th, 2008, 10:18 AM
Authorized User
Join Date: Aug 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks Imar!

Thanks much for the notes Imar!

I am working through the Database sections of the book now and finding the built-in controls quite adaptable in fact!

I do have an issue on p.406, but I'll post a separate question on that.

Thanks again -
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to EDIT,delete,add,items in my database zedekiah BOOK: Beginning ASP 3.0 2 May 15th, 2008 08:16 AM
delete records in database shoakat Classic ASP Databases 9 October 26th, 2004 08:31 PM
Using Asp to Add/Delete Tables in a SQL database? morpheus Classic ASP Databases 2 April 23rd, 2004 07:59 AM
How to Add/Delete/Update multiple records in DB? mmwaikar ADO.NET 1 September 20th, 2003 11:41 AM
Update or add multiple table records rosenzl VB.NET 3 June 12th, 2003 01:59 PM

All times are GMT -4. The time now is 10:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.