You are currently viewing the BOOK: Beginning ASP.NET 2.0 and Databases section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I have been working on creating a registration form to accept applications for a summer camp. I am not sure what I am doing wrong or if I should try to develop the form differently. I want to allow web users to register for a summer camp by filling the info about themselves online and then pressing a submit button, which takes their info and dumps it to a sql database table on the web server. I thought this was a simple process, but I am running into many roadblocks. Any thoughts on making this work or going in an alternate direction to create the solution is helpful. I tried using Chapter 12 of the book as an example of how to insert data, but it doesn't work the way it written.
I am currently working on a Registration Form and I have gotten it to submit to the database. Would you give a little more detail about what you have so far?
Some questions that I would ask are:
What type of controls are you using? I am using a template within a Details View.
What fields are you using in the Details View? I have a Template Field and a New, Insert, Cancel Command field.
Have you verified that your data source is functioning?
Are you using Text Boxes for the data input? Are they data bound to the field?
Is a primary key set on the SQL Server table?
Are you getting an error?