|
||||||
| ASP, ASP.NET and Coldfusion Microsoft's Web Development Language (ASP/ASP.NET) and Coldfusion discussion |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hello there,
I am in need of trying to figure out what is the best way to send data submitted from a form online to a database. I have a webform that will be submitting user requests, and when the information is submitted I would like it to be inserted into my Request Database. Right now the only things I have on my form are as follows: User ID [ txtUserID ] User Email [ txtUserEmailAddress ] Request [ txtRequestSummary ] and a submit and cancel button Would this require me to use any type of stored procedures? This will be an on going website and I would like to set it up where it can be 'easy maintanence' if the database needed fixing/updating etc. I would appreciate your help! Thank you so much Also the database name is called "Database" Using MS Server 2003 Using C# as the language in Visual Studio |
| Sponsored Links |
|
|
|
|||||
|
just a question, why make it so difficult to do just an insert????
why not just do an insert into ... in your asp-script??? |
|
|||||
|
Hi orjan,
If you worked with stored proc in MS SQL you will know that it's a bit of work But when u need to do update / change the insert statement in the future on the page how will u alter the insert statement without opening your asp page Let’s say you do not have the source code of your page how will and can u handle the insert statement. SQL Stored Proc’s is a bit irritating to work with but your page will be more stable. If you create the database with out stored Proc’s, triggers... how will the database administrator handle the database that u will use. Remember when u develop software think in the future how will u be able to solve a problem. I programmed with a team of professional developers and they thought me something if you want a short cut of doing stuff your project will also have a short cut of stability. If you want to code, then code. Rather be a coder than an interface designer. Thanks |
|
|||||
|
well, why not open the asp page, simply?
Stored procedures is a great tool for doing some complicated things, but for a just plain insert, I think its so enormous overkill, as you would still need to enter info to your asp page if the db changes. an administrator would still need to know the documentation, and it is'nt that many operations you could do on this DB anyway without changing the code calling the sp. creating sp:s would be another thing if you need to enter the info into several tables and do it within an transaction so you know what's entered or not... |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Storing Images in MySQL with PHP | Jordan | PHP Tutorials | 13 | 09-23-2008 06:11 PM |
| Linking a Form to a SQL Database | newguy15 | Database & Database Programming | 2 | 12-04-2007 02:13 AM |
| Linking Windows form to SQL2005 Database | newguy15 | Visual Basic Programming | 0 | 11-23-2007 06:04 AM |
| retrieve information from a database | moonrise | Java Help | 2 | 07-18-2006 09:41 PM |
| Xav | ........ | 1357.94 |
| MeTh0Dz|Reb0rn | ........ | 1080.79 |
| WingedPanther | ........ | 919.18 |
| marwex89 | ........ | 906.86 |
| morefood2001 | ........ | 903.18 |
| John | ........ | 902.37 |
| Brandon W | ........ | 777.89 |
| chili5 | ........ | 312.39 |
| Steve.L | ........ | 264.99 |
| dcs | ........ | 240.34 |
Goal: 100,000 Posts
Complete: 83%