Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 18th, 2008, 04:24 AM
Authorized User
 
Join Date: Apr 2008
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default How to delete a record from DetailViews?

How do I delete a record from DetailsView?

I have set up the SqlDataSource, clicked on Enable Inserting, Editing, Deleting on the SqlDataSource and the DetailsView. But the delete button doesn't appear.


 
Old June 18th, 2008, 06:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Is this directly related to the book Beginning ASP.NET 3.5? If so, can you specify chapter and page numbers?

If not, I think you're better off posting here: http://p2p.wrox.com/forum.asp?FORUM_ID=348

That forum is the general "Beginning ASP.NET 3.5" forum and will most likely give you faster results as more people are watching that forum and providing answers.

That said, did you generate Insert, Update and Delete statements in the SqlDataSource configuration wizard? And does your table have a primary key?

Otherwise, can you post your code in a new topic in the aforementioned forum and post a link here? Then I'll take a look.

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.
 
Old June 18th, 2008, 08:03 AM
Authorized User
 
Join Date: Apr 2008
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Imar!

Thanks. I have posted the topic here:

http://p2p.wrox.com/topic.asp?TOPIC_ID=72167

 
Old June 18th, 2008, 08:17 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

firblazer-

For future reference: you can edit your original post and change the forum it lives in so you can maintain the thread posts.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I delete a record from a form? dstein4d Access VBA 8 August 24th, 2007 12:09 PM
Delete a record row, not just the record. Coby Access VBA 1 April 30th, 2007 06:29 AM
Trying to delete a record... Can't do it... lguzman Access VBA 11 August 13th, 2004 12:41 PM
Can't delete record Trojan_uk SQL Server 2000 3 November 27th, 2003 01:03 PM
Delete record but how? scifo Beginning PHP 3 August 1st, 2003 12:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.