Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET 2.0 - is there a new solution for simple Web form fields to database?

Reply
Thread Tools

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

 
 
chadpaynter@gmail.com
Guest
Posts: n/a
 
      07-19-2007
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.

 
Reply With Quote
 
 
 
 
Alan Silver
Guest
Posts: n/a
 
      07-26-2007
In article <(E-Mail Removed) .com>,
http://www.velocityreviews.com/forums/(E-Mail Removed) 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)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
epydoc: How to add new fields as the building fields? Cyril.Liu Python 0 12-02-2008 05:01 AM
Request.Form to retrieve looped form fields David ASP General 2 09-20-2007 01:33 PM
is there a simple solution to this template problem? aaragon C++ 7 06-27-2007 01:35 PM
get all the form fields in a form Mr. SweatyFinger ASP .Net 20 01-31-2007 08:24 AM
How to decide the best choice between web-form and win-form for the next solution? abc ASP .Net 1 04-07-2006 08:38 PM



Advertisments