Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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 August 16th, 2011, 08:09 AM
Authorized User
 
Join Date: Jun 2010
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default edit and delete is not showing option in grid view ?

Hi,
I have creeated a table Name Table 1 the coulum detial is as follows.
SR. No. int
Job title Varchar Max
Job Description Varchar Max


I inserted few data in the table..

and drag and drop the table on default.aspx using sever explorer as a result
grid view is generated on page and on smart tag only enable paging, enable sorting and enable selection is visible eding and deliting option is not available.


so kindly guide me why deleting and editing option is not available ..

I tried many ways to enable it.

I goes to website saving location and right click the app_data foler through security option and enable every option. but still the editing and deleting option is not showing in smart tag of grid view. Pls guide me
 
Old August 16th, 2011, 08:33 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 thete,

To which chapter / page number of the book are you referring? If this is not about my book, you're better off posting this in a more general ASP.NET category here: http://p2p.wrox.com/asp-net-4-539/

That said, deleting requires a primary key in the database tables, so make sure the table has one before you drag it on the design surface.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid Option in ListView Control cuddling101 ASP.NET 4 General Discussion 1 December 17th, 2010 10:34 AM
Grid view and delete button jack_hilary BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 May 13th, 2010 07:00 AM
Help Grid View Drop Down List, view all jskinner123 ASP.NET 2.0 Basics 0 November 25th, 2007 06:25 PM
Showing records in grid using Stored Procedures shazia1 ASP.NET 2.0 Basics 2 April 20th, 2007 09:29 PM





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