473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

PLS HELP: Simple adding data to db in ASP.NET 2.0

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.
Jan 14 '06 #1
2 898
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.

Jan 14 '06 #2
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".

:)

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:0C**********************************@microsof t.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.

Jan 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
28
by: stu_gots | last post by:
I have been losing sleep over this puzzle, and I'm convinced my train of thought is heading in the wrong direction. It is difficult to explain my circumstances, so I will present an identical...
11
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field...
7
by: Jack Addington | last post by:
I've got a fairly simple application implementation that over time is going to get a lot bigger. I'm really trying to implement it in a way that will facilitate the growth. I am first writing a...
1
by: Simon Harvey | last post by:
Hi, I'm hoping someone can help me witht he following problem: I have a fairly simple page that has a sort form and a button for adding the forms details to an arraylist. When the button is...
4
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box...
10
by: Nemok | last post by:
Hi, I am trying to write an additive encryption algorithm in C++ that will encrypt a text by adding a random numer to each character in a string. The code looks similar to this: for(int...
4
by: Tarun Mistry | last post by:
Hi all, I have posted this in both the c# and asp.net groups as it applies to both (apologies if it breaks some group rules). I am making a web app in asp.net using c#. This is the first fully OO...
6
by: lennon1 | last post by:
Hi, I have already started learning .NET and I have a question. If I want to do anything - Display Data, Navigate, Update - with database (SQL Server) in Visual Studio 2005, do I have to use all...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.