473,383 Members | 1,818 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,383 software developers and data experts.

ASP.NET 2.0 - is there a new solution for simple Web form fields to database?

A lot of the work I do in web development tends to be a set of web
forms allowing a user to apply for a product or service which has
usually resulted in me writing code behind to read the form field
values and then create business objects which are commited to the
DB.

In ASP.NET 2.0 i know there is a lot of improvements to make
databinding much simpler (and in the code-infront) however most of it
revolves around the gridview dealing with lots of records. Does
anyone have any example of using any of the new features in ASP.NET2.0
for doing simple form fields to DB? Any suggestions would be greatly
appreciated.

Jul 19 '07 #1
1 1353
In article <11**********************@d55g2000hsg.googlegroups .com>,
ch*********@gmail.com writes
>A lot of the work I do in web development tends to be a set of web
forms allowing a user to apply for a product or service which has
usually resulted in me writing code behind to read the form field
values and then create business objects which are commited to the
DB.

In ASP.NET 2.0 i know there is a lot of improvements to make
databinding much simpler (and in the code-infront) however most of it
revolves around the gridview dealing with lots of records. Does
anyone have any example of using any of the new features in ASP.NET2.0
for doing simple form fields to DB? Any suggestions would be greatly
appreciated.
I think the data sets might be what you want. Have a look on www.asp.net
for the data tutorials. They show you how do set up data sets, use them
to populate form fields and (more to the point for you) how to use them
to save data from a form to a db.

They are pretty easy to use, and allow you to do what you are asking
with basically zero coding.

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)
Jul 26 '07 #2

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

Similar topics

13
by: Samantha Smit | last post by:
Hi, I am trying to create a simple asp page that has one command button that updates a database. The URL of the page is like this: http://MyServer.com/Update.asp?UserName=Tom My asp code is...
5
by: Mark 123 | last post by:
Hi I have a form with the input fields: ProductName Quantity and output fields: ProductPrice
1
by: Ted Theodoropoulos | last post by:
i posted an earlier thread about exporting data from a subform in an ..ADP to an .MDB file. i had only one gracious response but it wouldn't work in the given situation. so i thought i would...
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
1
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
12
by: Jan | last post by:
Hi: I've got the Error 3197 problem ("The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.") in a client...
1
lwwhite
by: lwwhite | last post by:
This is driving me crazy and probably has a simple solution. Access 2003 Win XP. On a form, I have an unbound text box named "drive." I have an unbound combo box called "version" that looks up values...
12
by: M G Henry | last post by:
I have a tabbed form that contains 12 different "pages" and when I try and run the form I get the error message too many fields defined --- which I believe is the 255 field limit in the record...
9
by: Access | last post by:
In my user interface if a user doesn't have access to a field in the database I lock it and make the background color yellow. Problem is I'm maintaining permissions in two different places. On...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.