[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

update a record in a form

Posted on 2006-05-23
5
Medium Priority
?
169 Views
Last Modified: 2010-04-16
I have a form that is used to update a record from a sql table. This page will load with a value being retrieved from a querystring.
The value is from the querystring and a call is made to a WS that returns the record (that is to fill all the fields in the form) which then allows the user to update this record. Not delete or add a new record just update.
Having said that, with many different ways to do this, what is the best way and recommended approach.

There are about 40 fields, which include drop down, radio buttons and text area fields.
0
Comment
Question by:chicabow
  • 3
4 Comments
 
LVL 6

Expert Comment

by:MuhammadAdil
ID: 16749156
You should used Typed DataSet for this.
Explore This page to learn about typedDataSet
http://www.awprofessional.com/articles/article.asp?p=30593&rl=1

Best regards
Adil Fazal
0
 
LVL 6

Expert Comment

by:MuhammadAdil
ID: 16749166
0
 
LVL 1

Author Comment

by:chicabow
ID: 16753420
Thanks for the links. I have reviewed the docs and well i am not building a Windows  new Console C# project. This is to be a web application.
So are Typed DataSet, the ideal solution for what am i looking for? If so, please explain why.
0
 
LVL 6

Accepted Solution

by:
MuhammadAdil earned 100 total points
ID: 16758053
Hello Dear
following are some point why typed dataset is better then Dataset.
First typed dataset Separates datalayer form business logic
Second Easy to use VS genrates code visually
Third Easy to write custom methods
Forth Easy to update, insert, delete (All DDL operations)

Explore these pages.
http://support.microsoft.com/default.aspx?scid=kb;en-us;320714
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/designnetapp.asp

Best of Luck

Adil Fazal
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question