Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
ASP Basics understanding
Old 05-03-2006, 08:18 PM ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
Hi,
I created a asp page using a frontpage. i made a form and set that the information submitted is sent to mdb databse. But when publish the page and fill in to test the page by filling it the databse never gets the info and the same page appears after i hit the submit button????

Last edited by dani01; 05-03-2006 at 09:59 PM..
dani01 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-04-2006, 07:38 AM Re: ASP Basics understanding
Skilled Talker

Posts: 95
Trades: 0
I'm not really sure what your saying, would need to see some code.

as we'd need to see how your inserting the data from the form into the database.
You cant just tell a form to submit to the database there is a bit more to it than that.
higginbt is offline
Reply With Quote
View Public Profile
 
Old 05-04-2006, 12:19 PM Re: ASP Basics understanding
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Using FrontPage is not the best solution for ASP either. It creates some bulky, buggy code that won't help you in any way.

Like higginbt says, we need the code to figure it out, though.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-04-2006, 04:46 PM Re: ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
I actually created a form with Frontpage and inserted form and every thing in to it and set it like that the data submitted is sent to a .mdb databse that frontpage created in the web folders during that process............But when the submit button is hit the same page reappears?>????????
dani01 is offline
Reply With Quote
View Public Profile
 
Old 05-04-2006, 05:13 PM Re: ASP Basics understanding
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
is it set to go somewhere else ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-04-2006, 07:37 PM Re: ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
Yes it is set to go anywhere on host server or on pc???
dani01 is offline
Reply With Quote
View Public Profile
 
Old 05-04-2006, 11:37 PM Re: ASP Basics understanding
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
dani01, I'll rephrase this:

Without the code, anything you're asking isn't going to get answered.

So...please provide us with the code.

Thanks.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-05-2006, 06:31 AM Re: ASP Basics understanding
Skilled Talker

Posts: 95
Trades: 0
What chrishirst meant.

Where have you told the form to go after you press the submit button

<form name="form1" method="post" action="linkpage.asp">

Like in the example above when the submit button is pressed it will try and load up the linkpage.asp.

Since english does not seem to be your first language you will get much better help if you copy and paste the code from your page on here.
higginbt is offline
Reply With Quote
View Public Profile
 
Old 05-05-2006, 08:39 AM Re: ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
Well!! thats the whole code!!

<%@ Language=JavaScript %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="VI60_defaultClientScript" content="VBScript">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Name</title>
</head>
<body bgcolor="#000000" text="#FFFF00">
<form method="POST">
<p align="center"><font face="Verdana" size="1" color="#FFFF00"><b>Name:</b></font>
<input type="text" name="T1" size="24"></p>
<p align="center"><b><font face="Verdana" size="1">E-mail: </font></b><input type="text" name="T2" size="25"></p>
<p align="center"><b><font face="Verdana" size="1">City:</font></b> <input type="text" name="T3" size="20"></p>
<p align="center"><b><font face="Verdana" size="1">Country:</font></b> <input type="text" name="T4" size="20"></p>
<p align="center"><b><font face="Verdana" size="1">Log In ID: </font></b><input type="text" name="T5" size="20"></p>
<p align="center"><b><font size="1" face="Verdana">Password: </font></b><input type="text" name="T6" size="20"></p>
<p align="center"><font face="Verdana" size="1"><b>Confirm Password: </b></font><input type="text" name="T7" size="20"></p>
<p>&nbsp;</p>
<p align="center"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>
dani01 is offline
Reply With Quote
View Public Profile
 
Old 05-05-2006, 10:07 AM Re: ASP Basics understanding
Skilled Talker

Posts: 95
Trades: 0
Well for a start this form doesnt do anything apart from hold
email
city
country
log in id
password and confirm password
with two buttons at the bottom submit and a reset

When you click submit you havent told you form to do anything.

you need to tell it to do something. like go to a page that has your asp code on it

which you can do in the way i stated before.

You've not really created an ASP page. Its just HTML saved with a.asp extensioni is my guess

Last edited by higginbt; 05-05-2006 at 10:09 AM..
higginbt is offline
Reply With Quote
View Public Profile
 
Old 05-05-2006, 10:11 AM Re: ASP Basics understanding
Skilled Talker

Posts: 95
Trades: 0
The page you send it to will have to:

1.create a connection to the database

2. Retrieve the infomation back from the form

3.Insert the information in to the database.

all you have done is create a form
higginbt is offline
Reply With Quote
View Public Profile
 
Old 05-05-2006, 11:49 AM Re: ASP Basics understanding
Average Talker

Posts: 16
Trades: 0
Quote:
Originally Posted by dani01
Hi,
I created a asp page using a frontpage
Here's your problem right there. You won't have even basic understanding of ASP by using FrontPage.
Start over, use text editor, look at the code.

Last edited by Midano; 05-11-2006 at 04:24 PM..
Midano is offline
Reply With Quote
View Public Profile
 
Old 05-05-2006, 08:19 PM Re: ASP Basics understanding
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Midano, in a twisted way, is right.

ASP + FrontPage = disaster.

If you're going to learn ASP, and I mean really learn it and learn how it works, you gotta get under the hood and get your hands dirty. And in doing so, you'll have to learn how to hand-code it.

If you want some good resources to get you started, here are some:

www.haneng.com (still a good resource after the 6 years I've known about it)
www.4guysfromrolla.com (this site just OWNS for droppin' mad ASP knowledge on young bruthas.)
www.asp101.com (rookie, but still cool.)

Anyway, your problem is that your form doesn't have an action attribute set for it. What page is it supposed to go to? It doesn't say. So, you've got a dead form.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-06-2006, 12:37 AM Re: ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
Thnx alot guys!!
dani01 is offline
Reply With Quote
View Public Profile
 
Old 05-06-2006, 12:38 AM Re: ASP Basics understanding
Average Talker

Posts: 17
Trades: 0
ok
tell me any best software to create a asp page!!!!!
other then frontpage??
dani01 is offline
Reply With Quote
View Public Profile
 
Old 05-06-2006, 12:48 AM Re: ASP Basics understanding
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
A text editor, such as Notepad or Notepad ++.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-09-2006, 05:36 AM Re: ASP Basics understanding
Skilled Talker

Posts: 95
Trades: 0
If you must you a wysiwyg editor then i would suggest dreamweaver. It's what i use, but i have the bonus of knowing how to create html and ASP pages by hand in an editor.

In fact i always hand code asp in dreamweaver.

Its not as bas as front page but it still adds unwanted extra code. If you learn html its easy to sort it out.
higginbt is offline
Reply With Quote
View Public Profile
 
Old 05-10-2006, 04:01 PM Re: ASP Basics understanding
Experienced Talker

Posts: 30
Trades: 0
Hi Dan,

One problem that I have identified is that you need to sepcify the action attribute in your <form> tag. You need to tell the server which page should be call when you submit the form.

e.g. <form name="form1" method="post" action="linkpage.asp">

Good luck
__________________

Please login or register to view this content. Registration is FREE
MyOpinion is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ASP Basics understanding
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.61506 seconds with 12 queries