Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Beginning XML 3rd Edition
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning XML 3rd Edition
This is the forum to discuss the Wrox book Beginning XML, 3rd Edition by David Hunter, Andrew Watt, Jeff Rafter, Jon Duckett, Danny Ayers, Nicholas Chase, Joe Fawcett, Tom Gaven, Bill Patterson; ISBN: 9780764570773
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XML 3rd Edition 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 21st, 2005, 08:40 AM
ML ML is offline
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap 15, Try It Out: Creating RPC Server in asp

Having created the rpc with asp fine i was keen to try accessing the data through vb.net (code on page 567). Firstly i created a vb.net console app, then typed in the code. Expecting the simple app to work i hit play. The following error appears.

"An unhandled exception of type 'System.ArgumentException' occurred in microsoft.visualbasic.dll

Additional information: Argument 'Prompt' cannot be converted to type 'String'."

Can anyone tell me what im doing wrong? the codes in fine, the link to the asp.net page works fine. (works fine as an asp page to)

I think the problems with this line..


but im not positive. Any help would be much appreciated.

  #2 (permalink)  
Old July 25th, 2005, 11:54 AM
Registered User
Join Date: Jul 2005
Location: Monterrey, Nuevo León, Mexico.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi, my english sucks, so I hope you can understand it

The problem appeared when I tried to move the value of a textbox to one of the parameters of a SQL query, i fixed it by adding a new parameter to the DataAdapter
Lines of code 2 & 3 produced that error. Line 1 was added to fix it.

1. OleDbDataAdapter3.SelectCommand.Parameters.Add("?n umc", OleDb.OleDbType.Integer)
2. OleDbDataAdapter3.SelectCommand.Parameters.Item("? numc").Value = Me.txtBuscar.Text
3. OleDbDataAdapter3.Fill(DsBusqueda1, "qry_condomino")

Suerte ;)


P.D. : Odio que me exigan registrarme ¬¬, hasta para ofrecer soluciones hay que hacerlo ¬¬

  #3 (permalink)  
Old September 30th, 2005, 07:25 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

I know this may not help the poster as it's so long since posting but for others...

I don't have the XML to hand but if extPrice is an element like this:
then modify the selectSingleNode to read:
(I presume the code uses System.Xml)



Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
php5 chap 15 help needed twr Beginning PHP 1 January 5th, 2008 06:20 AM
Chap 15 (p.579) Connection string to SQL Server Venboy BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 July 23rd, 2006 10:56 AM
chap 15 manal_sag BOOK: Beginning ASP 3.0 2 July 10th, 2005 03:29 AM
help in chap 15 manal_sag BOOK: Beginning ASP 3.0 2 May 25th, 2005 02:59 AM
Sessions - Chap 15 mminnie BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 January 10th, 2005 04:25 AM

All times are GMT -4. The time now is 02:18 AM.

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