Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 15th, 2017, 06:55 PM
Authorized User
Points: 42, Level: 1
Points: 42, Level: 1 Points: 42, Level: 1 Points: 42, Level: 1
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: Apr 2016
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Ch 13 - Try It Out, DetailsView, p450. Id Number.

Hi,
P450: Try It Out - Inserting Data with the DetailsView Control, p450.

Step 7.
I inserted a new genre: Name: Disco, with SortOrder: 10. It inserted ok, except the Id number was 4 digits. I deleted it, tried again, and the same thing. Id number shows with 4 digits: 1003.

Any idea why that happens?

-Thanks!
Reply With Quote
  #2 (permalink)  
Old February 17th, 2017, 10:43 AM
Imar's Avatar
Wrox Author
Points: 70,808, Level: 100
Points: 70,808, Level: 100 Points: 70,808, Level: 100 Points: 70,808, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,890
Thanks: 79
Thanked 1,545 Times in 1,522 Posts
Default

If it is what I think it is, it's pretty common: http://stackoverflow.com/questions/1...0-on-7th-entry

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!
Reply With Quote
Reply


Thread Tools
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
Problems with DetailsView (Ch. 13) waysgoose BOOK: Beginning ASP.NET 4.5 : in C# and VB 9 August 1st, 2014 07:41 AM
Ch 4 and Ch 13/15 - controls and the DataPager AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 3 February 24th, 2014 04:56 PM
Chapter 13 - DetailsView Issue pgrant BOOK: Beginning ASP.NET 4 : in C# and VB 4 April 11th, 2012 07:51 AM
Search ch 13, ch 16 sporik BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 October 27th, 2009 05:44 PM
Update DB by passing ID number jonsey Classic ASP Professional 1 April 11th, 2007 08:05 PM



All times are GMT -4. The time now is 01:14 AM.


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