Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 May 17th, 2006, 12:49 PM
Registered User
 
Join Date: Apr 2006
Location: Pawtucket, RI, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap 8 - Try It Out Page 270 - 271 VB

Hey I tried several times to do this try it out and when I run the page and update the data in the GridView I get the following error

The data types text and nvarchar are incompatible in the equal to operator.

Exception Details: System.Data.SqlClient.SqlException: The data types text and nvarchar are incompatible in the equal to operator.

I re-copyed the zip file several times. I even went so far as to delete the Grid View, Details view and the data sources and start from scratch but nothing doing.

I would be nice if the sample/ Execise code was more consistant with the book. Ive noticed several complaints on this fourm about the sample code being different then what the book describes and I've been experiencing the same thing. Its kind of fustrating trying to learn this stuff when you have to continually run into these roadblocks. :(

Dean Forant

Programmer
Delta Mechanical Seals
44 Probber Lane
Fall River, MA. 02720
(508)324-4032 Ext 118
__________________
Dean Forant

Programmer
Delta Mechanical Seals
44 Probber Lane
Fall River, MA. 02720
(508)324-4032 Ext 118
Reply With Quote
  #2 (permalink)  
Old May 17th, 2006, 01:21 PM
Registered User
 
Join Date: Apr 2006
Location: Pawtucket, RI, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nevermind i just copyed the file over one more time and for some reason now it works.

There is still the inconsistansies of the sample code and what is shown in the book.

for example in this Try it out the book displays all the fields of the fixtures in the Gridview control. but the sample code only show the fixtureID FixtureDate and Opponent. I know this is small potatoes but still annoying none the less.


anyways I feel a little better that I got it to work

Dean Forant

Programmer
Delta Mechanical Seals
44 Probber Lane
Fall River, MA. 02720
(508)324-4032 Ext 118
Reply With Quote
  #3 (permalink)  
Old May 21st, 2007, 06:01 PM
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm getting the same error: The data types text and nvarchar are incompatible in the equal to operator. I'm using the code from the begin section chapter 8. You copied over the file with a new download. Any idea why this error occurs?

thanx.....
Reply With Quote
  #4 (permalink)  
Old May 30th, 2007, 07:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Banbury, , United Kingdom.
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hiya,

Are you using C# or VB?

dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
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
VB Chap 8 p270 Try It Out bking83485 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 December 2nd, 2007 11:01 PM
chap 16 Page 631 audreiev BOOK Beginning Linux Programming, 3rd Edition 0 July 7th, 2007 08:40 PM
Chap 19 Page 957 Lostincode BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 22nd, 2007 05:08 PM
Chap 3 , page 50 MacSr BOOK: Beginning VB.NET Databases 1 January 23rd, 2006 07:53 PM



All times are GMT -4. The time now is 09:52 AM.


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