Wrox Programmer Forums
|
BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003
This is the forum to discuss the Wrox book Professional VB.NET 2003 by Bill Evjen, Billy Hollis, Rockford Lhotka, Tim McCarthy, Jonathan Pinnock, Rama Ramachandran, Bill Sheldon; ISBN: 9780764559921
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 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 May 2nd, 2006, 09:38 AM
Authorized User
 
Join Date: Apr 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default probably wrong forum!

I'm trying to add a record to a sqlserver database by putting a button on an aspx ,creating a connection and command,opening the connection and calling ExecuteNonQuery . firstly I cant set a breakpoint on a click event for the button as I get a 'no symbols have been loaded for the document' and when I try to add a record anyway I get a bizzare incorrect syntax near the keyword 'File'. error.:(
Any ideas
 
Old May 3rd, 2006, 10:47 AM
Authorized User
 
Join Date: Apr 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

problem was that I had spaces in field names.Duh!
Now works fine.
How do I close the window that adds the record once I've added it?
 
Old May 14th, 2006, 02:20 PM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

You can use window.close() in your javascript to close the window.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I creat a forum like P2P Forum? pcassiano ASP.NET 1.0 and 1.1 Basics 1 October 31st, 2005 05:00 AM
What could be wrong??? jPaulB VB Databases Basics 4 October 20th, 2005 09:12 PM
Help..What am I doing wrong... Brettvan1 VB.NET 2002/2003 Basics 2 October 18th, 2004 02:36 AM
Javascript .. wrong forum? ken1978 Pro JSP 0 July 19th, 2004 11:42 PM
converting Forum.aspx to Forum.ascx (help) drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 11th, 2003 12:27 PM





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