|
|
 |
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

December 1st, 2008, 05:30 PM
|
|
Authorized User
|
|
Join Date: Aug 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
JN
|

December 1st, 2008, 06:04 PM
|
 |
Wrox Author
Points: 33,554, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,228
Thanks: 7
Thanked 203 Times in 201 Posts
|
|
Hi there,
You could check out the ADO.NET Quick Starts here:
http://www.dotnetjunkies.ddj.com/qui...sOverview.aspx
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:
http://imar.spaanjaars.com/QuickDocId.aspx?ID=416
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:
http://imar.spaanjaars.com/QuickDocId.aspx?ID=476.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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.
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|

December 14th, 2008, 10:18 AM
|
|
Authorized User
|
|
Join Date: Aug 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 -
JN
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |