473,396 Members | 2,013 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,396 software developers and data experts.

looking for web form tutorial

I've been searching in forums, at asp.net, MSDN and 4GuysFromRolla but
cannot locate exactly what I'm looking for - hoping someone here can
suggest:

How to develop a one page web app that initially presents a form to
collect user input, write input to access database, and displays
confirmation message on success?

I do this all the time in old-school ASP, as we frequently survey our
staff on our intranet - I'm trying to be good and use .net 2.0 for
everything now. Right now I have a web page with a form made up of a
bunch of textboxes and validation controls, not sure where to go from
here. This seems like a frequent and basic need - comment and contact
forms on websites, for instance.

I'm almost done with .NET in 24 hours, and have done the ASP.NET ADO
tutorials, creating a DAL and the whole nine yards. Everything I've
learned so far utilizes datagrids. Is customizing a details view the
usual way?

Any input apprectiated. Thanks!

~Mahalie

Aug 15 '06 #1
3 1197
Create form
Add panel for form
Add panel for confirmation
Make both panels Visible=false by default
On initial load or fail validation, show panel 1 (form)
On succesful validation, show panel 2

Since you know how to write to the database, you are golden. Run validation,
if true (valid) then insert.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
"mahalie" <ma*****@gmail.comwrote in message
news:11*********************@74g2000cwt.googlegrou ps.com...
I've been searching in forums, at asp.net, MSDN and 4GuysFromRolla but
cannot locate exactly what I'm looking for - hoping someone here can
suggest:

How to develop a one page web app that initially presents a form to
collect user input, write input to access database, and displays
confirmation message on success?

I do this all the time in old-school ASP, as we frequently survey our
staff on our intranet - I'm trying to be good and use .net 2.0 for
everything now. Right now I have a web page with a form made up of a
bunch of textboxes and validation controls, not sure where to go from
here. This seems like a frequent and basic need - comment and contact
forms on websites, for instance.

I'm almost done with .NET in 24 hours, and have done the ASP.NET ADO
tutorials, creating a DAL and the whole nine yards. Everything I've
learned so far utilizes datagrids. Is customizing a details view the
usual way?

Any input apprectiated. Thanks!

~Mahalie

Aug 15 '06 #2
Thanks for the input. I ended up using a FormView and Panels. I had to
piece together a lot of instructions from a lot of sources, so I'm
still wondering if there is already a tutorial out there that does
this...otherwise I'm thinking about writing one!

Aug 15 '06 #3
re:
I'm still wondering if there is already a tutorial out there that does
this...otherwise I'm thinking about writing one!
Please do...and post the URL when you've published it.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"mahalie" <ma*****@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Thanks for the input. I ended up using a FormView and Panels. I had to
piece together a lot of instructions from a lot of sources, so I'm
still wondering if there is already a tutorial out there that does
this...otherwise I'm thinking about writing one!

Aug 15 '06 #4

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

Similar topics

16
by: lawrence | last post by:
I was told in another newsgroup (about XML, I was wondering how to control user input) that most modern browsers empower the designer to cast the user created input to a particular character...
17
by: Fabrice | last post by:
Hi ! I'm looking for a tutorial on how to create a DLL in C (not C++). I don't know whether i can use C for this purpose, but i didn't find any post telling me that i cannot use C. So, if it is...
6
by: Shawn | last post by:
I have been fooling around with C# for about a half year doing simple little programs. i would like to delve into more complex UI designs such as docking windows, the outlook task bar. Does anyone...
1
by: dman | last post by:
Hi, I am a total newbie to asp.net. I have spent the last week or so trying to find a good tutorial that would show me how to create a form that would be entered into a SQL database and then...
3
by: Roy Smith | last post by:
My wife wants to learn Python. Can anybody suggest a good tutorial for her to read? She's a PhD molecular biologist who is a pretty advanced Unix user. She mucks about with Perl scripts doing...
9
by: julie.siebel | last post by:
Hello all! As embarrassing as it is to admit this, I've been designing db driven websites using javascript and vbscript for about 6-7 years now, and I am *horrible* at form validation. To be...
3
by: Carl Youngblood | last post by:
I own the 3rd edition of Stroustrup's THE C++ PROGRAMMING LANGUAGE and have read most of it, but I find its style to be more suitable for reference than for tutorial. I still have a lot to learn...
2
by: Chas | last post by:
Newbie question. I am looking for a good online tutorial using VS2005 with ASP.NET with VB.NET codebehind and using SQL Server. I googled and examined a few, but no real help. Looking for...
12
by: alexander | last post by:
hi, can someone point me to a good JS tutorial? (it may be in German or English) regards alex
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.