|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
PLS HELP: Simple adding data to db in ASP.NET 2.0Is there any example that shows how to do something like this (the simplest
way) in ASP.NET 2.0... 1. Simple webform (called "AddProduct") with several textboxes (txtProductName, txtProductPrice, etc...) and 1 save button. 2. Click Save button and the data is inserted into the Addresses table. I find myself starting to write business logic (as I did in 1.1) and it just doesn't feel right. It seems that there MUST be an easier way (almost seems like this can be codeless.) Any ideas? Any examples/links would be appreciated! Thanks. VB Programmer,
Have you discovered the Quickstarts Applications? This installs with both VS.NET and the .NET SDK. Really, you will find this extremely useful for all these basic concepts. Its available online as well. Peter -- Show quoteHide quoteCo-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com "VB Programmer" wrote: > Is there any example that shows how to do something like this (the simplest > way) in ASP.NET 2.0... > > 1. Simple webform (called "AddProduct") with several textboxes > (txtProductName, txtProductPrice, etc...) and 1 save button. > 2. Click Save button and the data is inserted into the Addresses table. > > I find myself starting to write business logic (as I did in 1.1) and it just > doesn't feel right. It seems that there MUST be an easier way (almost seems > like this can be codeless.) > > Any ideas? Any examples/links would be appreciated! > > Thanks. > > > Thanks Peter. You are correct. I didn't even know about these. I've taken
a look and they WILL BE an INVALUABLE resource. Thanks for being patient with me, the "newb". Show quoteHide quote :) "Peter Bromberg [C# MVP]" <pbromberg@yahoo.nospammin.com> wrote in message news:0C6A9A09-E165-4505-A197-F1103F55C97A@microsoft.com... > VB Programmer, > Have you discovered the Quickstarts Applications? This installs with both > VS.NET and the .NET SDK. Really, you will find this extremely useful for > all > these basic concepts. Its available online as well. > Peter > > -- > Co-founder, Eggheadcafe.com developer portal: > http://www.eggheadcafe.com > UnBlog: > http://petesbloggerama.blogspot.com > > > > > "VB Programmer" wrote: > >> Is there any example that shows how to do something like this (the >> simplest >> way) in ASP.NET 2.0... >> >> 1. Simple webform (called "AddProduct") with several textboxes >> (txtProductName, txtProductPrice, etc...) and 1 save button. >> 2. Click Save button and the data is inserted into the Addresses table. >> >> I find myself starting to write business logic (as I did in 1.1) and it >> just >> doesn't feel right. It seems that there MUST be an easier way (almost >> seems >> like this can be codeless.) >> >> Any ideas? Any examples/links would be appreciated! >> >> Thanks. >> >> >>
Other interesting topics
Is this static method threadsafe?
Advantages of Static Vs Instance methods? Use validationSummary to display error message in user control Compiler Error: [No relevant source lines] output cache question CompareValidator for dates > than today VWD 2005 Express: "copy web site" creates multiple publishform (2.0) Trap the Maximum request length 403 (Forbidden) Error session values |
|||||||||||||||||||||||