Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 January 6th, 2006, 05:34 PM
Authorized User
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with inserting data into an Access DB

I have a linkbutton with the CommandName as Insert in the InsertTemplate of a form view. Using an AccessDataSource control with an InsertCommand sql statement with parameters it only adds new records if I set a default value to a parameter and only that default value of the parameter will be added in the appropriate field of the table. If none of my parameters have a default value in the parameters element of the datasource control then no record gets added to the table, nothing happens. I've checked the name of my textboxes, checkboxes, dropdowns, etc... to make sure they are spelled correctly and that no other controls from the other form templates have the same name and I still get the same results.

Any ideas?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting data into DB roserose PHP Databases 1 April 24th, 2006 07:54 AM
inserting yes/no value into Access DB using ASP pablohoney Classic ASP Basics 1 September 20th, 2005 12:00 AM
Inserting into access db using VWD. Peki ASP.NET 2.0 Basics 1 April 11th, 2005 09:12 PM
Problem in inserting 100KB string into oracle db MSUser Oracle 1 December 31st, 2004 05:55 AM
INSERT INTO <--inserting data into db abbylee26 Classic ASP Databases 2 March 11th, 2004 05:33 PM

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