freelanceprogrammers.org Forum Index » ASP
Form wil not submit.
Joined: 03 Jan 2005
Posts: 15
Form wil not submit.
I have a form at http://BelchingToadClan.gotdns.com/btcnet/JoinBTC.aspx That
when filled out properly will not submit to the next page. Instead it jsut
re-displays itself. I have the code listed below. I have a form tag that
tells it were to submit to but it ignores it apparently.
<FORM name="JoinThebtc" action="JoinBTCcomplete.aspx" method="post"
runat="server">
<P><FONT face="Verdana"><STRONG><FONT
color="#00ff00">NAME:</FONT></STRONG><BR>
Your actual name.<BR>
<INPUT id="name" type="text" maxLength="45" size="45"
name="name" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorName" runat="server" ErrorMessage="Enter your
name" ControlToValidate="Name"></asp:RequiredFieldValidator><BR>
<BR>
<STRONG><FONT color="#00ff00">PLAYING
NAME:</FONT></STRONG><BR>
The name you go buy when playing online games. This is
the name that the BTC
members will know you by. You can place the tag at the
end "oldSchool" or at
the beginning "new wave" it is up to you.<BR>
Examples = YourName[BTC] or [BTC]YourName<BR>
<INPUT id="playingname" type="text" maxLength="45"
size="45" name="playingname" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorPlayingName" runat="server" ErrorMessage="Enter
your Playing Name"
ControlToValidate="playingname"
Display="Dynamic"></asp:RequiredFieldValidator><BR>
<BR>
<STRONG><FONT color="#00ff00">USERNAME:</FONT><FONT
color="#ff0000" size="2"><BR>
</FONT></STRONG>This will be your username to access
your web page so make
sure you don`t put any spaces in it.<FONT
color="#ff0000" size="2"><STRONG> </STRONG>
</FONT>
<BR>
<INPUT id="username" type="text" maxLength="45"
size="45" name="username" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorusername" runat="server" ErrorMessage="Enter a
Username"
ControlToValidate="username"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>PASSWORD:
</STRONG></FONT>
<BR>
Choose a password so that you may edit your member
page in the future. Write it
down after you choose it.<BR>
<INPUT id="password" type="text" maxLength="45"
size="45" name="password" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorpassword" runat="server" ErrorMessage="Enter a
Password"
ControlToValidate="password"></asp:RequiredFieldValidator><BR>
<BR>
<FONT
color="#00ff00"><STRONG>LOCATION:</STRONG></FONT><BR>
Where you live. You can just put the state if you
don`t want to give that out
on your profile.
<BR>
<INPUT id="location" type="text" maxLength="45"
size="45" value="Toadville, USA" name="location"
runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorlocation" runat="server" ErrorMessage="Enter a
Location"
ControlToValidate="location"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>EMAIL: </STRONG></FONT>
<BR>
A valid email address. This is were your BTC email
will go to. So you may want
to get a hotmail account or something and if your
playing name is Oboron[BTC]
you could be <A href="http://www.hotmail.com"
target="_blank">OboronBTC@...</A>.
After being in the clan for a while you may get an
official
@BelchingToadCLan.com email.<BR>
<INPUT id="email" type="text" maxLength="45" size="45"
name="email" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorEmail" runat="server" ErrorMessage="Enter an
Email" ControlToValidate="email"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>AGE:</STRONG></FONT><BR>
Your age.<BR>
<INPUT id="age" type="text" maxLength="45" size="45"
name="age" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorAge" runat="server" ErrorMessage="Enter your age"
ControlToValidate="age"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>ICQ:</STRONG></FONT><BR>
Some of the clan uses ICQ. If you don`t have it then
you can download <A href="http://www.icq.com">
ICQ</A> and install it then come back.<BR>
<INPUT id="icq" type="text" maxLength="45" size="45"
value="I don`t have ICQ" name="icq"
runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorICQ" runat="server" ErrorMessage="Enter a number"
ControlToValidate="icq"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>AIM:</STRONG></FONT><BR>
This is AOL Instant Messenger. The clan also uses this
to communicate. If you
don`t have this please download <A
href="http://www.aol.com">AOL Instant Messenger</A>
then come back and type in your user name.<BR>
<INPUT id="aim" type="text" maxLength="45" size="45"
value="I don`t have AIM" name="aim"
runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorAIM" runat="server" ErrorMessage="Enter an ID"
ControlToValidate="aim"></asp:RequiredFieldValidator><BR>
<BR>
<FONT
color="#00ff00"><STRONG>OCCUPATION:</STRONG></FONT><BR>
Your job. "If you have one :)"<BR>
<INPUT id="occupation" type="text" maxLength="45"
size="45" value="I have no job ......"
name="occupation" runat="server">
<asp:RequiredFieldValidator
id="RequiredFieldValidatorOccupation" runat="server" ErrorMessage="Enter an
Occupation"
ControlToValidate="occupation"></asp:RequiredFieldValidator><BR>
<BR>
<FONT color="#00ff00"><STRONG>BIO:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorBIO" runat="server" ErrorMessage="Please enter
your BIO information"
ControlToValidate="bio"></asp:RequiredFieldValidator></STRONG></FONT><BR>
This is the bio of your character. If you don`t have
any ideas then go look at
some of the active member bio`s to get an idea on what
you can put could put
here. Or you can use this space to tell us how you
chose the name you are using
now.<BR>
<TEXTAREA id="bio" name="bio" rows="12"
wrap="true" cols="76" runat="server" style="WIDTH: 632px; HEIGHT:
198px">Erase this text and put yours in.</TEXTAREA><BR>
<BR>
<FONT color="#00ff00"><STRONG>PERSONAL INFORMATION:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorpersonalinformation" runat="server"
ErrorMessage="Enter your Personal Information"
ControlToValidate="personalinformation"></asp:RequiredFieldValidator>
</STRONG></FONT>
<BR>
This is the place to fill your page with. Put anything
you want in this
section. Put music you like or riding motorcycles
etc..
<BR>
<TEXTAREA id="personalinformation"
name="personalinformation" rows="12" wrap="true" cols="76"
runat="server" style="WIDTH: 632px; HEIGHT:
198px">Erase this text and put yours in.</TEXTAREA><BR>
<BR>
<FONT color="#00ff00"><STRONG>GAMES PLAYED:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorgamesplayed" runat="server" ErrorMessage="Please
enter games played"
ControlToValidate="gamesplayed"></asp:RequiredFieldValidator></STRONG></FONT><BR
>
</FONT><FONT face="Verdana" size="2"> <TEXTAREA
id="gamesplayed" name="gamesplayed" rows="12" wrap="true" cols="76"
runat="server"
style="WIDTH: 632px; HEIGHT: 198px">Quake, Quake2,
Quake3, Ut99, UT2003, UT2004, Half Life, Half Life2, Half Life Counter
Strike, Half Life2 Counter Strike Source, Doom3, Tron 2.0, Wow, Star Wars
Galaxies, Quake4, Avp2, Halo, Halo2 ....</TEXTAREA></FONT><FONT
face="Verdana"><BR>
<BR>
<BR>
<STRONG><FONT color="#00ff00">PROFILE PHOTO:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorPhoto" runat="server" ErrorMessage="Please enter a
Photo Link"
ControlToValidate="Photo"></asp:RequiredFieldValidator></FONT></STRONG><BR>
This is a personal photo of you or your character etc.
If you have a photo on
the net and want to use that paste the url into the
box below. If you do not
have a photo at this time then you can leave in the
default photo already in
the box. If you take out the link below without
putting in a link to another
photo your profile will have no photo and look like
crap. So either have a
photo or leave the one that is in there alone.
</FONT><FONT face="Verdana" color="#ff0000" size="2">
This is a 200x 200 image</FONT><FONT face="Verdana"
size="2">.<BR>
<INPUT id="Photo" type="text" maxLength="100"
size="98" value="Images/Members/btcmemberdefault.gif"
name="Photo" runat="server" style="WIDTH: 624px;
HEIGHT: 22px"></FONT><FONT face="Verdana"><BR>
_________________________________________________________<BR>
<BIG><FONT color="#ff0000"><BIG>
<BR>
<BR>
</BIG></FONT><FONT color="#0099ff"><B><BIG>SYSTEM
INFORMATION</BIG></B></FONT></BIG><FONT color="#00ffff"><BR>
</FONT><FONT size="2">This section tells us what type
of machine you have. Try to
fill it out good as if you have a technical problem
then we will be able to
help you solve it much faster with this information.
Plus this is your chance
to show off that hot system you have. BRAG ABOUT IT
HERE.</FONT><BR>
</FONT></P>
<TABLE id="table84" cellSpacing="0" cellPadding="0"
width="642" border="0">
<TR>
<TD vAlign="top"><FONT face="Verdana" size="2"> <FONT
color="#0099ff"><STRONG>OPERATING SYSTEM:</STRONG></FONT><BR>
<SELECT id="OS" size="1" name="OS" runat="server">
<OPTION value="WINDOWS-95">WINDOWS-95</OPTION>
<OPTION value="WindowsXP PRO" selected>WindowsXP
PRO</OPTION>
<OPTION value="WindowsXP Home">WindowsXP
Home</OPTION>
<OPTION value="WINDOWS-98">WINDOWS-98</OPTION>
<OPTION value="WINDOWS-98SE">WINDOWS-98SE</OPTION>
<OPTION value="WINDOWS-NT">WINDOWS-NT</OPTION>
<OPTION value="WINDOWS2000">WINDOWS2000</OPTION>
<OPTION value="WINDOWS-ME">WINDOWS-ME</OPTION>
<OPTION value="LINIX">LINIX</OPTION>
<OPTION value="UNIX">UNIX</OPTION>
<OPTION value="MACINTOSH">MACINTOSH</OPTION>
</SELECT></FONT></TD>
<TD> </TD>
<TD vAlign="top" width="349"> </TD>
</TR>
<TR>
<TD vAlign="top">
</TD>
<TD> </TD>
<TD vAlign="top" width="349">
</TD>
</TR>
<TR>
<TD vAlign="top"><FONT face="Verdana"><FONT
color="#0099ff" size="2"><STRONG>CONNECTION:</STRONG></FONT><BR>
<SELECT id="connect" size="1" name="connect"
runat="server">
<OPTION value="28.8 KB MODEM">28.8 KB
MODEM</OPTION>
<OPTION value="T3">T3</OPTION>
<OPTION value="33.6 KB MODEM">33.6 KB
MODEM</OPTION>
<OPTION value="56 KB MODEM" selected>56 KB
MODEM</OPTION>
<OPTION value="ISDN">ISDN</OPTION>
<OPTION value="DSL">DSL</OPTION>
<OPTION value="ADSL">ADSL</OPTION>
<OPTION value="SDSL">SDSL</OPTION>
<OPTION value="CABLE MODEM">CABLE MODEM</OPTION>
<OPTION value="T1">T1</OPTION>
</SELECT></FONT></TD>
<TD><FONT face="Verdana"> </FONT>
</TD>
<TD vAlign="top" width="349"><FONT
face="Verdana"><STRONG><FONT color="#0099ff" size="2">PROCESSOR:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorprocessor" runat="server" ErrorMessage="Enter
Processor"
ControlToValidate="processor"></asp:RequiredFieldValidator>
</FONT><FONT color="#ff0000" size="2">
<BR>
</FONT></STRONG> <INPUT id="processor"
type="text" maxLength="45" size="44" value="AMD" name="processor"
runat="server"></FONT></TD>
</TR>
<TR>
<TD><FONT face="Verdana"> </FONT>
</TD>
<TD> </TD>
<TD width="349"> </TD>
</TR>
<TR>
<TD vAlign="top"><FONT face="Verdana"><FONT
size="2"><FONT color="#0099ff"><STRONG>VIDEO CARD:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorvideocard" runat="server" ErrorMessage="Enter
video card"
ControlToValidate="videocard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
</FONT><INPUT id="videocard" type="text"
maxLength="45" size="38" value="Radeon" name="videocard"
runat="server"><br>
</FONT></TD>
<TD> </TD>
<TD vAlign="top" width="349"><FONT
face="Verdana"><FONT color="#0099ff" size="2"><STRONG>SOUND
CARD:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorsoundcard" runat="server" ErrorMessage="Enter
sound card"
ControlToValidate="soundcard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
<INPUT id="soundcard" type="text"
maxLength="45" size="45" value="Sound Blaster Compatible"
name="soundcard" runat="server"><br>
</FONT></TD>
</TR>
<TR>
<TD vAlign="top">
</TD>
<TD> </TD>
<TD vAlign="top" width="349">
</TD>
</TR>
<TR>
<TD vAlign="top"><FONT face="Verdana" size="2"><FONT
color="#0099ff" size="2"><STRONG>RAM:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorram" runat="server" ErrorMessage="Enter Ram"
ControlToValidate="ram"></asp:RequiredFieldValidator></STRONG></FONT><BR>
<INPUT id="ram" type="text" maxLength="45"
size="37" value="2MB" name="ram" runat="server"></FONT></TD>
<TD> </TD>
<TD vAlign="top" width="349"><FONT face="Verdana"
size="2"><FONT color="#0099ff" size="2"><STRONG>HARD
DRIVE:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorharddrive" runat="server" ErrorMessage="Enter hard
drive"
ControlToValidate="harddrive"></asp:RequiredFieldValidator></STRONG></FONT><BR>
<INPUT id="harddrive" type="text"
maxLength="45" size="45" value="1GB" name="harddrive"
runat="server"><br>
</FONT></TD>
</TR>
</TABLE>
<P><FONT face="Verdana"><STRONG><FONT
color="#00ff00"><BR>
</FONT><FONT color="#0099ff">ADDITIONAL SYSTEM
INFORMATION:
<asp:RequiredFieldValidator
id="RequiredFieldValidatoradditionalsysteminformation" runat="server"
ErrorMessage="Enter system information"
ControlToValidate="additionalsysteminformation"></asp:RequiredFieldValidator></F
ONT></STRONG><BR>
This is basically anything else you want on your web
page. You can fill it with
pages of text if you want. Make sure you run a spell
check on it first :)<BR>
<TEXTAREA id="additionalsysteminformation"
name="additionalsysteminformation" rows="12" wrap="true"
cols="76" runat="server" bio="post" style="WIDTH:
632px; HEIGHT: 198px">Erase this text and put yours in.</TEXTAREA><BR>
<BR>
</FONT><FONT face="Verdana" size="2">
<BR>
</FONT><FONT face="Verdana"><STRONG><FONT
color="#0099ff">SYSTEM PHOTO:
<asp:RequiredFieldValidator
id="RequiredFieldValidatorSystemPhoto" runat="server" ErrorMessage="Enter
System Photo"
ControlToValidate="SystemPhoto"></asp:RequiredFieldValidator></FONT></STRONG><BR
>
This is a photo of your Computer System. If you have a
photo on the net and
want to use that paste the url into the box below. If
you do not have a photo
at this time then you can leave in the default photo
already in the box. If you
take out the link below without putting in a link to
another photo your profile
will have no photo and look like crap. So either have
a photo or leave the one
that is in there alone. <FONT color="#ff0000"
size="2">This is a 200x 200 image.</FONT></FONT><FONT face="Verdana"
size="2"><BR>
<INPUT id="SystemPhoto" type="text" maxLength="100"
size="101" value="Images/SystemInformation.gif"
name="SystemPhoto" runat="server" style="WIDTH:
640px; HEIGHT: 22px"><BR>
</FONT><FONT face="Verdana">
<BR>
<BR>
<INPUT id="Submit1" type="submit" value="Join the
Belching Toad Clan" name="B1" runat="server"><BR>
Click on this button to send your information to the
database and become a
member of BTC. If you have missed anything or made a
mistake it will be shown
in red at the point you made the mistake. If you have
any problems then contact
me at <a
href="mailto:BelchermanBTC@...?subject=Problem with Join
BTC Application">
BelchermanBTC@...</a> with the issue
and I will try to
help. Welcome to the clan and have fun.<BR>
</FONT></P>
</FORM>
Joined: 07 Jan 2006
Posts: 63
Form wil not submit.
actions are not allowed in <form ruant=server"> till ASP.net 2.0
But WilsonWebForm has a FORM replacement that does support action. Its
on the list of great freebies @
http://www.learnasp.com/rb?3915
On Mon, 10 Jan 2005 15:04:13 -0500,
System-Administrator@...
<System-Administrator@...> wrote:
> I have a form at http://BelchingToadClan.gotdns.com/btcnet/JoinBTC.aspx
> That
> when filled out properly will not submit to the next page. Instead it jsut
> re-displays itself. I have the code listed below. I have a form tag that
> tells it were to submit to but it ignores it apparently.
>
>
> <FORM name="JoinThebtc" action="JoinBTCcomplete.aspx" method="post"
> runat="server">
> <P><FONT face="Verdana"><STRONG><FONT
> color="#00ff00">NAME:</FONT></STRONG><BR>
> Your actual name.<BR>
> <INPUT id="name" type="text" maxLength="45" size="45"
> name="name" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorName" runat="server" ErrorMessage="Enter your
> name" ControlToValidate="Name"></asp:RequiredFieldValidator><BR>
> <BR>
> <STRONG><FONT color="#00ff00">PLAYING
> NAME:</FONT></STRONG><BR>
> The name you go buy when playing online games. This
> is
> the name that the BTC
> members will know you by. You can place the tag at
> the
> end "oldSchool" or at
> the beginning "new wave" it is up to you.<BR>
> Examples = YourName[BTC] or [BTC]YourName<BR>
> <INPUT id="playingname" type="text" maxLength="45"
> size="45" name="playingname" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorPlayingName" runat="server" ErrorMessage="Enter
> your Playing Name"
> ControlToValidate="playingname"
> Display="Dynamic"></asp:RequiredFieldValidator><BR>
> <BR>
> <STRONG><FONT color="#00ff00">USERNAME:</FONT><FONT
> color="#ff0000" size="2"><BR>
> </FONT></STRONG>This will be your username to access
> your web page so make
> sure you don`t put any spaces in it.<FONT
> color="#ff0000" size="2"><STRONG> </STRONG>
> </FONT>
> <BR>
> <INPUT id="username" type="text" maxLength="45"
> size="45" name="username" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorusername" runat="server" ErrorMessage="Enter a
> Username"
>
> ControlToValidate="username"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT color="#00ff00"><STRONG>PASSWORD:
> </STRONG></FONT>
> <BR>
> Choose a password so that you may edit your member
> page in the future. Write it
> down after you choose it.<BR>
> <INPUT id="password" type="text" maxLength="45"
> size="45" name="password" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorpassword" runat="server" ErrorMessage="Enter a
> Password"
>
> ControlToValidate="password"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT
> color="#00ff00"><STRONG>LOCATION:</STRONG></FONT><BR>
> Where you live. You can just put the state if you
> don`t want to give that out
> on your profile.
> <BR>
> <INPUT id="location" type="text" maxLength="45"
> size="45" value="Toadville, USA" name="location"
> runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorlocation" runat="server" ErrorMessage="Enter a
> Location"
>
> ControlToValidate="location"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT color="#00ff00"><STRONG>EMAIL: </STRONG></FONT>
> <BR>
> A valid email address. This is were your BTC email
> will go to. So you may want
> to get a hotmail account or something and if your
> playing name is Oboron[BTC]
> you could be <A href="http://www.hotmail.com"
> target="_blank">OboronBTC@...</A>.
> After being in the clan for a while you may get an
> official
> @BelchingToadCLan.com email.<BR>
> <INPUT id="email" type="text" maxLength="45"
> size="45"
> name="email" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorEmail" runat="server" ErrorMessage="Enter an
> Email" ControlToValidate="email"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT
> color="#00ff00"><STRONG>AGE:</STRONG></FONT><BR>
> Your age.<BR>
> <INPUT id="age" type="text" maxLength="45" size="45"
> name="age" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorAge" runat="server" ErrorMessage="Enter your age"
> ControlToValidate="age"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT
> color="#00ff00"><STRONG>ICQ:</STRONG></FONT><BR>
> Some of the clan uses ICQ. If you don`t have it then
> you can download <A href="http://www.icq.com">
> ICQ</A> and install it then come back.<BR>
> <INPUT id="icq" type="text" maxLength="45" size="45"
> value="I don`t have ICQ" name="icq"
> runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorICQ" runat="server" ErrorMessage="Enter a number"
> ControlToValidate="icq"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT
> color="#00ff00"><STRONG>AIM:</STRONG></FONT><BR>
> This is AOL Instant Messenger. The clan also uses
> this
> to communicate. If you
> don`t have this please download <A
> href="http://www.aol.com">AOL Instant Messenger</A>
> then come back and type in your user name.<BR>
> <INPUT id="aim" type="text" maxLength="45" size="45"
> value="I don`t have AIM" name="aim"
> runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorAIM" runat="server" ErrorMessage="Enter an ID"
> ControlToValidate="aim"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT
> color="#00ff00"><STRONG>OCCUPATION:</STRONG></FONT><BR>
> Your job. "If you have one :)"<BR>
> <INPUT id="occupation" type="text" maxLength="45"
> size="45" value="I have no job ......"
> name="occupation" runat="server">
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorOccupation" runat="server" ErrorMessage="Enter an
> Occupation"
>
> ControlToValidate="occupation"></asp:RequiredFieldValidator><BR>
> <BR>
> <FONT color="#00ff00"><STRONG>BIO:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorBIO" runat="server" ErrorMessage="Please enter
> your BIO information"
>
> ControlToValidate="bio"></asp:RequiredFieldValidator></STRONG></FONT><BR>
> This is the bio of your character. If you don`t have
> any ideas then go look at
> some of the active member bio`s to get an idea on
> what
> you can put could put
> here. Or you can use this space to tell us how you
> chose the name you are using
> now.<BR>
> <TEXTAREA id="bio" name="bio" rows="12"
> wrap="true" cols="76" runat="server" style="WIDTH: 632px; HEIGHT:
> 198px">Erase this text and put yours in.</TEXTAREA><BR>
> <BR>
> <FONT color="#00ff00"><STRONG>PERSONAL INFORMATION:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorpersonalinformation" runat="server"
> ErrorMessage="Enter your Personal Information"
>
> ControlToValidate="personalinformation"></asp:RequiredFieldValidator>
> </STRONG></FONT>
> <BR>
> This is the place to fill your page with. Put
> anything
> you want in this
> section. Put music you like or riding motorcycles
> etc..
> <BR>
> <TEXTAREA id="personalinformation"
> name="personalinformation" rows="12" wrap="true" cols="76"
> runat="server" style="WIDTH: 632px; HEIGHT:
> 198px">Erase this text and put yours in.</TEXTAREA><BR>
> <BR>
> <FONT color="#00ff00"><STRONG>GAMES PLAYED:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorgamesplayed" runat="server" ErrorMessage="Please
> enter games played"
>
>
ControlToValidate="gamesplayed"></asp:RequiredFieldValidator></STRONG></FONT><BR
>
> </FONT><FONT face="Verdana" size="2"> <TEXTAREA
> id="gamesplayed" name="gamesplayed" rows="12" wrap="true" cols="76"
> runat="server"
> style="WIDTH: 632px; HEIGHT: 198px">Quake, Quake2,
> Quake3, Ut99, UT2003, UT2004, Half Life, Half Life2, Half Life Counter
> Strike, Half Life2 Counter Strike Source, Doom3, Tron 2.0, Wow, Star Wars
> Galaxies, Quake4, Avp2, Halo, Halo2 ....</TEXTAREA></FONT><FONT
> face="Verdana"><BR>
> <BR>
> <BR>
> <STRONG><FONT color="#00ff00">PROFILE PHOTO:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorPhoto" runat="server" ErrorMessage="Please enter
> a
> Photo Link"
>
> ControlToValidate="Photo"></asp:RequiredFieldValidator></FONT></STRONG><BR>
> This is a personal photo of you or your character
> etc.
> If you have a photo on
> the net and want to use that paste the url into the
> box below. If you do not
> have a photo at this time then you can leave in the
> default photo already in
> the box. If you take out the link below without
> putting in a link to another
> photo your profile will have no photo and look like
> crap. So either have a
> photo or leave the one that is in there alone.
> </FONT><FONT face="Verdana" color="#ff0000" size="2">
> This is a 200x 200 image</FONT><FONT face="Verdana"
> size="2">.<BR>
> <INPUT id="Photo" type="text" maxLength="100"
> size="98" value="Images/Members/btcmemberdefault.gif"
> name="Photo" runat="server" style="WIDTH: 624px;
> HEIGHT: 22px"></FONT><FONT face="Verdana"><BR>
>
> _________________________________________________________<BR>
> <BIG><FONT color="#ff0000"><BIG>
> <BR>
> <BR>
> </BIG></FONT><FONT color="#0099ff"><B><BIG>SYSTEM
> INFORMATION</BIG></B></FONT></BIG><FONT color="#00ffff"><BR>
> </FONT><FONT size="2">This section tells us what type
> of machine you have. Try to
> fill it out good as if you have a technical problem
> then we will be able to
> help you solve it much faster with this information.
> Plus this is your chance
> to show off that hot system you have. BRAG ABOUT IT
> HERE.</FONT><BR>
> </FONT></P>
> <TABLE id="table84" cellSpacing="0" cellPadding="0"
> width="642" border="0">
> <TR>
> <TD vAlign="top"><FONT face="Verdana" size="2"> <FONT
> color="#0099ff"><STRONG>OPERATING SYSTEM:</STRONG></FONT><BR>
> <SELECT id="OS" size="1" name="OS" runat="server">
> <OPTION value="WINDOWS-95">WINDOWS-95</OPTION>
> <OPTION value="WindowsXP PRO" selected>WindowsXP
> PRO</OPTION>
> <OPTION value="WindowsXP Home">WindowsXP
> Home</OPTION>
> <OPTION value="WINDOWS-98">WINDOWS-98</OPTION>
> <OPTION value="WINDOWS-98SE">WINDOWS-98SE</OPTION>
> <OPTION value="WINDOWS-NT">WINDOWS-NT</OPTION>
> <OPTION value="WINDOWS2000">WINDOWS2000</OPTION>
> <OPTION value="WINDOWS-ME">WINDOWS-ME</OPTION>
> <OPTION value="LINIX">LINIX</OPTION>
> <OPTION value="UNIX">UNIX</OPTION>
> <OPTION value="MACINTOSH">MACINTOSH</OPTION>
> </SELECT></FONT></TD>
> <TD> </TD>
> <TD vAlign="top" width="349"> </TD>
> </TR>
> <TR>
> <TD vAlign="top">
> </TD>
> <TD> </TD>
> <TD vAlign="top" width="349">
> </TD>
> </TR>
> <TR>
> <TD vAlign="top"><FONT face="Verdana"><FONT
> color="#0099ff" size="2"><STRONG>CONNECTION:</STRONG></FONT><BR>
> <SELECT id="connect" size="1" name="connect"
> runat="server">
> <OPTION value="28.8 KB MODEM">28.8 KB
> MODEM</OPTION>
> <OPTION value="T3">T3</OPTION>
> <OPTION value="33.6 KB MODEM">33.6 KB
> MODEM</OPTION>
> <OPTION value="56 KB MODEM" selected>56 KB
> MODEM</OPTION>
> <OPTION value="ISDN">ISDN</OPTION>
> <OPTION value="DSL">DSL</OPTION>
> <OPTION value="ADSL">ADSL</OPTION>
> <OPTION value="SDSL">SDSL</OPTION>
> <OPTION value="CABLE MODEM">CABLE MODEM</OPTION>
> <OPTION value="T1">T1</OPTION>
> </SELECT></FONT></TD>
> <TD><FONT face="Verdana"> </FONT>
> </TD>
> <TD vAlign="top" width="349"><FONT
> face="Verdana"><STRONG><FONT color="#0099ff" size="2">PROCESSOR:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorprocessor" runat="server" ErrorMessage="Enter
> Processor"
>
> ControlToValidate="processor"></asp:RequiredFieldValidator>
> </FONT><FONT color="#ff0000" size="2">
> <BR>
> </FONT></STRONG> <INPUT id="processor"
> type="text" maxLength="45" size="44" value="AMD" name="processor"
> runat="server"></FONT></TD>
> </TR>
> <TR>
> <TD><FONT face="Verdana"> </FONT>
> </TD>
> <TD> </TD>
> <TD width="349"> </TD>
> </TR>
> <TR>
> <TD vAlign="top"><FONT face="Verdana"><FONT
> size="2"><FONT color="#0099ff"><STRONG>VIDEO CARD:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorvideocard" runat="server" ErrorMessage="Enter
> video card"
>
>
ControlToValidate="videocard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
> </FONT><INPUT id="videocard" type="text"
> maxLength="45" size="38" value="Radeon" name="videocard"
> runat="server"><br>
> </FONT></TD>
> <TD> </TD>
> <TD vAlign="top" width="349"><FONT
> face="Verdana"><FONT color="#0099ff" size="2"><STRONG>SOUND
> CARD:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorsoundcard" runat="server" ErrorMessage="Enter
> sound card"
>
>
ControlToValidate="soundcard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
> <INPUT id="soundcard" type="text"
> maxLength="45" size="45" value="Sound Blaster Compatible"
> name="soundcard" runat="server"><br>
> </FONT></TD>
> </TR>
> <TR>
> <TD vAlign="top">
> </TD>
> <TD> </TD>
> <TD vAlign="top" width="349">
> </TD>
> </TR>
> <TR>
> <TD vAlign="top"><FONT face="Verdana" size="2"><FONT
> color="#0099ff" size="2"><STRONG>RAM:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorram" runat="server" ErrorMessage="Enter Ram"
> ControlToValidate="ram"></asp:RequiredFieldValidator></STRONG></FONT><BR>
> <INPUT id="ram" type="text" maxLength="45"
> size="37" value="2MB" name="ram" runat="server"></FONT></TD>
> <TD> </TD>
> <TD vAlign="top" width="349"><FONT face="Verdana"
> size="2"><FONT color="#0099ff" size="2"><STRONG>HARD
> DRIVE:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorharddrive" runat="server" ErrorMessage="Enter
> hard
> drive"
>
>
ControlToValidate="harddrive"></asp:RequiredFieldValidator></STRONG></FONT><BR>
> <INPUT id="harddrive" type="text"
> maxLength="45" size="45" value="1GB" name="harddrive"
> runat="server"><br>
> </FONT></TD>
> </TR>
> </TABLE>
> <P><FONT face="Verdana"><STRONG><FONT
> color="#00ff00"><BR>
> </FONT><FONT color="#0099ff">ADDITIONAL SYSTEM
> INFORMATION:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatoradditionalsysteminformation" runat="server"
> ErrorMessage="Enter system information"
>
>
ControlToValidate="additionalsysteminformation"></asp:RequiredFieldValidator></F
ONT></STRONG><BR>
> This is basically anything else you want on your web
> page. You can fill it with
> pages of text if you want. Make sure you run a spell
> check on it first :)<BR>
> <TEXTAREA id="additionalsysteminformation"
> name="additionalsysteminformation" rows="12" wrap="true"
> cols="76" runat="server" bio="post" style="WIDTH:
> 632px; HEIGHT: 198px">Erase this text and put yours in.</TEXTAREA><BR>
> <BR>
> </FONT><FONT face="Verdana" size="2">
> <BR>
> </FONT><FONT face="Verdana"><STRONG><FONT
> color="#0099ff">SYSTEM PHOTO:
> <asp:RequiredFieldValidator
> id="RequiredFieldValidatorSystemPhoto" runat="server" ErrorMessage="Enter
> System Photo"
>
>
ControlToValidate="SystemPhoto"></asp:RequiredFieldValidator></FONT></STRONG><BR
>
> This is a photo of your Computer System. If you have
> a
> photo on the net and
> want to use that paste the url into the box below. If
> you do not have a photo
> at this time then you can leave in the default photo
> already in the box. If you
> take out the link below without putting in a link to
> another photo your profile
> will have no photo and look like crap. So either have
> a photo or leave the one
> that is in there alone. <FONT color="#ff0000"
> size="2">This is a 200x 200 image.</FONT></FONT><FONT face="Verdana"
> size="2"><BR>
> <INPUT id="SystemPhoto" type="text" maxLength="100"
> size="101" value="Images/SystemInformation.gif"
> name="SystemPhoto" runat="server" style="WIDTH:
> 640px; HEIGHT: 22px"><BR>
> </FONT><FONT face="Verdana">
> <BR>
> <BR>
> <INPUT id="Submit1" type="submit" value="Join the
> Belching Toad Clan" name="B1" runat="server"><BR>
> Click on this button to send your information to the
> database and become a
> member of BTC. If you have missed anything or made a
> mistake it will be shown
> in red at the point you made the mistake. If you have
> any problems then contact
> me at <a
> href="mailto:BelchermanBTC@...?subject=Problem with Join
> BTC Application">
> BelchermanBTC@...</a> with the
> issue
> and I will try to
> help. Welcome to the clan and have fun.<BR>
> </FONT></P>
> </FORM>
>
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Joined: 03 Jan 2005
Posts: 15
Form wil not submit.
I guess there are options such as:
1. Submitting to itself.
IFisPostback then
..... process form
Else
... first time display form.
end if.
2. taking all the values and building a querystring and onto another page to
update with a respons.redirect.
Do these makes sense?
Have a nice day.
----- Original Message -----
From: "Charles Carroll" <911@...>
To: <AspNetAnyQuestionIsOk@yahoogroups.com>
Sent: Monday, January 10, 2005 3:31 PM
Subject: Re: [AspNetAnyQuestionIsOk] Form wil not submit.
>
> actions are not allowed in <form ruant=server"> till ASP.net 2.0
>
>
> But WilsonWebForm has a FORM replacement that does support action. Its
> on the list of great freebies @
> http://www.learnasp.com/rb?3915
>
>
> On Mon, 10 Jan 2005 15:04:13 -0500,
> System-Administrator@...
> <System-Administrator@...> wrote:
>> I have a form at http://BelchingToadClan.gotdns.com/btcnet/JoinBTC.aspx
>> That
>> when filled out properly will not submit to the next page. Instead it
>> jsut
>> re-displays itself. I have the code listed below. I have a form tag that
>> tells it were to submit to but it ignores it apparently.
>>
>>
>> <FORM name="JoinThebtc" action="JoinBTCcomplete.aspx" method="post"
>> runat="server">
>> <P><FONT face="Verdana"><STRONG><FONT
>> color="#00ff00">NAME:</FONT></STRONG><BR>
>> Your actual name.<BR>
>> <INPUT id="name" type="text" maxLength="45"
>> size="45"
>> name="name" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorName" runat="server" ErrorMessage="Enter your
>> name" ControlToValidate="Name"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <STRONG><FONT color="#00ff00">PLAYING
>> NAME:</FONT></STRONG><BR>
>> The name you go buy when playing online games.
>> This
>> is
>> the name that the BTC
>> members will know you by. You can place the tag at
>> the
>> end "oldSchool" or at
>> the beginning "new wave" it is up to you.<BR>
>> Examples = YourName[BTC] or [BTC]YourName<BR>
>> <INPUT id="playingname" type="text" maxLength="45"
>> size="45" name="playingname" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorPlayingName" runat="server"
>> ErrorMessage="Enter
>> your Playing Name"
>> ControlToValidate="playingname"
>> Display="Dynamic"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <STRONG><FONT
>> color="#00ff00">USERNAME:</FONT><FONT
>> color="#ff0000" size="2"><BR>
>> </FONT></STRONG>This will be your username to
>> access
>> your web page so make
>> sure you don`t put any spaces in it.<FONT
>> color="#ff0000" size="2"><STRONG> </STRONG>
>> </FONT>
>> <BR>
>> <INPUT id="username" type="text" maxLength="45"
>> size="45" name="username" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorusername" runat="server" ErrorMessage="Enter a
>> Username"
>>
>> ControlToValidate="username"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT color="#00ff00"><STRONG>PASSWORD:
>> </STRONG></FONT>
>> <BR>
>> Choose a password so that you may edit your member
>> page in the future. Write it
>> down after you choose it.<BR>
>> <INPUT id="password" type="text" maxLength="45"
>> size="45" name="password" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorpassword" runat="server" ErrorMessage="Enter a
>> Password"
>>
>> ControlToValidate="password"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT
>> color="#00ff00"><STRONG>LOCATION:</STRONG></FONT><BR>
>> Where you live. You can just put the state if you
>> don`t want to give that out
>> on your profile.
>> <BR>
>> <INPUT id="location" type="text" maxLength="45"
>> size="45" value="Toadville, USA" name="location"
>> runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorlocation" runat="server" ErrorMessage="Enter a
>> Location"
>>
>> ControlToValidate="location"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT color="#00ff00"><STRONG>EMAIL:
>> </STRONG></FONT>
>> <BR>
>> A valid email address. This is were your BTC email
>> will go to. So you may want
>> to get a hotmail account or something and if your
>> playing name is Oboron[BTC]
>> you could be <A href="http://www.hotmail.com"
>> target="_blank">OboronBTC@...</A>.
>> After being in the clan for a while you may get an
>> official
>> @BelchingToadCLan.com email.<BR>
>> <INPUT id="email" type="text" maxLength="45"
>> size="45"
>> name="email" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorEmail" runat="server" ErrorMessage="Enter an
>> Email" ControlToValidate="email"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT
>> color="#00ff00"><STRONG>AGE:</STRONG></FONT><BR>
>> Your age.<BR>
>> <INPUT id="age" type="text" maxLength="45"
>> size="45"
>> name="age" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorAge" runat="server" ErrorMessage="Enter your
>> age"
>> ControlToValidate="age"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT
>> color="#00ff00"><STRONG>ICQ:</STRONG></FONT><BR>
>> Some of the clan uses ICQ. If you don`t have it
>> then
>> you can download <A href="http://www.icq.com">
>> ICQ</A> and install it then come back.<BR>
>> <INPUT id="icq" type="text" maxLength="45"
>> size="45"
>> value="I don`t have ICQ" name="icq"
>> runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorICQ" runat="server" ErrorMessage="Enter a
>> number"
>> ControlToValidate="icq"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT
>> color="#00ff00"><STRONG>AIM:</STRONG></FONT><BR>
>> This is AOL Instant Messenger. The clan also uses
>> this
>> to communicate. If you
>> don`t have this please download <A
>> href="http://www.aol.com">AOL Instant Messenger</A>
>> then come back and type in your user name.<BR>
>> <INPUT id="aim" type="text" maxLength="45"
>> size="45"
>> value="I don`t have AIM" name="aim"
>> runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorAIM" runat="server" ErrorMessage="Enter an ID"
>> ControlToValidate="aim"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT
>> color="#00ff00"><STRONG>OCCUPATION:</STRONG></FONT><BR>
>> Your job. "If you have one :)"<BR>
>> <INPUT id="occupation" type="text" maxLength="45"
>> size="45" value="I have no job ......"
>> name="occupation" runat="server">
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorOccupation" runat="server" ErrorMessage="Enter
>> an
>> Occupation"
>>
>> ControlToValidate="occupation"></asp:RequiredFieldValidator><BR>
>> <BR>
>> <FONT color="#00ff00"><STRONG>BIO:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorBIO" runat="server" ErrorMessage="Please enter
>> your BIO information"
>>
>> ControlToValidate="bio"></asp:RequiredFieldValidator></STRONG></FONT><BR>
>> This is the bio of your character. If you don`t
>> have
>> any ideas then go look at
>> some of the active member bio`s to get an idea on
>> what
>> you can put could put
>> here. Or you can use this space to tell us how you
>> chose the name you are using
>> now.<BR>
>> <TEXTAREA id="bio" name="bio" rows="12"
>> wrap="true" cols="76" runat="server" style="WIDTH: 632px; HEIGHT:
>> 198px">Erase this text and put yours in.</TEXTAREA><BR>
>> <BR>
>> <FONT color="#00ff00"><STRONG>PERSONAL
>> INFORMATION:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorpersonalinformation" runat="server"
>> ErrorMessage="Enter your Personal Information"
>>
>> ControlToValidate="personalinformation"></asp:RequiredFieldValidator>
>> </STRONG></FONT>
>> <BR>
>> This is the place to fill your page with. Put
>> anything
>> you want in this
>> section. Put music you like or riding motorcycles
>> etc..
>> <BR>
>> <TEXTAREA id="personalinformation"
>> name="personalinformation" rows="12" wrap="true" cols="76"
>> runat="server" style="WIDTH: 632px; HEIGHT:
>> 198px">Erase this text and put yours in.</TEXTAREA><BR>
>> <BR>
>> <FONT color="#00ff00"><STRONG>GAMES PLAYED:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorgamesplayed" runat="server"
>> ErrorMessage="Please
>> enter games played"
>>
>>
ControlToValidate="gamesplayed"></asp:RequiredFieldValidator></STRONG></FONT><BR
>
>> </FONT><FONT face="Verdana" size="2">
>> <TEXTAREA
>> id="gamesplayed" name="gamesplayed" rows="12" wrap="true" cols="76"
>> runat="server"
>> style="WIDTH: 632px; HEIGHT: 198px">Quake,
>> Quake2,
>> Quake3, Ut99, UT2003, UT2004, Half Life, Half Life2, Half Life Counter
>> Strike, Half Life2 Counter Strike Source, Doom3, Tron 2.0, Wow, Star
>> Wars
>> Galaxies, Quake4, Avp2, Halo, Halo2 ....</TEXTAREA></FONT><FONT
>> face="Verdana"><BR>
>> <BR>
>> <BR>
>> <STRONG><FONT color="#00ff00">PROFILE PHOTO:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorPhoto" runat="server" ErrorMessage="Please
>> enter
>> a
>> Photo Link"
>>
>> ControlToValidate="Photo"></asp:RequiredFieldValidator></FONT></STRONG><BR>
>> This is a personal photo of you or your character
>> etc.
>> If you have a photo on
>> the net and want to use that paste the url into
>> the
>> box below. If you do not
>> have a photo at this time then you can leave in
>> the
>> default photo already in
>> the box. If you take out the link below without
>> putting in a link to another
>> photo your profile will have no photo and look
>> like
>> crap. So either have a
>> photo or leave the one that is in there alone.
>> </FONT><FONT face="Verdana" color="#ff0000" size="2">
>> This is a 200x 200 image</FONT><FONT
>> face="Verdana"
>> size="2">.<BR>
>> <INPUT id="Photo" type="text" maxLength="100"
>> size="98" value="Images/Members/btcmemberdefault.gif"
>> name="Photo" runat="server" style="WIDTH: 624px;
>> HEIGHT: 22px"></FONT><FONT face="Verdana"><BR>
>>
>> _________________________________________________________<BR>
>> <BIG><FONT color="#ff0000"><BIG>
>> <BR>
>> <BR>
>> </BIG></FONT><FONT
>> color="#0099ff"><B><BIG>SYSTEM
>> INFORMATION</BIG></B></FONT></BIG><FONT color="#00ffff"><BR>
>> </FONT><FONT size="2">This section tells us what
>> type
>> of machine you have. Try to
>> fill it out good as if you have a technical
>> problem
>> then we will be able to
>> help you solve it much faster with this
>> information.
>> Plus this is your chance
>> to show off that hot system you have. BRAG ABOUT
>> IT
>> HERE.</FONT><BR>
>> </FONT></P>
>> <TABLE id="table84" cellSpacing="0" cellPadding="0"
>> width="642" border="0">
>> <TR>
>> <TD vAlign="top"><FONT face="Verdana" size="2">
>> <FONT
>> color="#0099ff"><STRONG>OPERATING SYSTEM:</STRONG></FONT><BR>
>> <SELECT id="OS" size="1" name="OS"
>> runat="server">
>> <OPTION value="WINDOWS-95">WINDOWS-95</OPTION>
>> <OPTION value="WindowsXP PRO"
>> selected>WindowsXP
>> PRO</OPTION>
>> <OPTION value="WindowsXP Home">WindowsXP
>> Home</OPTION>
>> <OPTION value="WINDOWS-98">WINDOWS-98</OPTION>
>> <OPTION
>> value="WINDOWS-98SE">WINDOWS-98SE</OPTION>
>> <OPTION value="WINDOWS-NT">WINDOWS-NT</OPTION>
>> <OPTION
>> value="WINDOWS2000">WINDOWS2000</OPTION>
>> <OPTION value="WINDOWS-ME">WINDOWS-ME</OPTION>
>> <OPTION value="LINIX">LINIX</OPTION>
>> <OPTION value="UNIX">UNIX</OPTION>
>> <OPTION value="MACINTOSH">MACINTOSH</OPTION>
>> </SELECT></FONT></TD>
>> <TD> </TD>
>> <TD vAlign="top" width="349"> </TD>
>> </TR>
>> <TR>
>> <TD vAlign="top">
>> </TD>
>> <TD> </TD>
>> <TD vAlign="top" width="349">
>> </TD>
>> </TR>
>> <TR>
>> <TD vAlign="top"><FONT face="Verdana"><FONT
>> color="#0099ff" size="2"><STRONG>CONNECTION:</STRONG></FONT><BR>
>> <SELECT id="connect" size="1" name="connect"
>> runat="server">
>> <OPTION value="28.8 KB MODEM">28.8 KB
>> MODEM</OPTION>
>> <OPTION value="T3">T3</OPTION>
>> <OPTION value="33.6 KB MODEM">33.6 KB
>> MODEM</OPTION>
>> <OPTION value="56 KB MODEM" selected>56 KB
>> MODEM</OPTION>
>> <OPTION value="ISDN">ISDN</OPTION>
>> <OPTION value="DSL">DSL</OPTION>
>> <OPTION value="ADSL">ADSL</OPTION>
>> <OPTION value="SDSL">SDSL</OPTION>
>> <OPTION value="CABLE MODEM">CABLE
>> MODEM</OPTION>
>> <OPTION value="T1">T1</OPTION>
>> </SELECT></FONT></TD>
>> <TD><FONT face="Verdana"> </FONT>
>> </TD>
>> <TD vAlign="top" width="349"><FONT
>> face="Verdana"><STRONG><FONT color="#0099ff" size="2">PROCESSOR:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorprocessor" runat="server" ErrorMessage="Enter
>> Processor"
>>
>> ControlToValidate="processor"></asp:RequiredFieldValidator>
>> </FONT><FONT color="#ff0000" size="2">
>> <BR>
>> </FONT></STRONG> <INPUT id="processor"
>> type="text" maxLength="45" size="44" value="AMD" name="processor"
>> runat="server"></FONT></TD>
>> </TR>
>> <TR>
>> <TD><FONT face="Verdana"> </FONT>
>> </TD>
>> <TD> </TD>
>> <TD width="349"> </TD>
>> </TR>
>> <TR>
>> <TD vAlign="top"><FONT face="Verdana"><FONT
>> size="2"><FONT color="#0099ff"><STRONG>VIDEO CARD:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorvideocard" runat="server" ErrorMessage="Enter
>> video card"
>>
>>
ControlToValidate="videocard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
>> </FONT><INPUT id="videocard" type="text"
>> maxLength="45" size="38" value="Radeon" name="videocard"
>> runat="server"><br>
>> </FONT></TD>
>> <TD> </TD>
>> <TD vAlign="top" width="349"><FONT
>> face="Verdana"><FONT color="#0099ff" size="2"><STRONG>SOUND
>> CARD:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorsoundcard" runat="server" ErrorMessage="Enter
>> sound card"
>>
>>
ControlToValidate="soundcard"></asp:RequiredFieldValidator></STRONG></FONT><BR>
>> <INPUT id="soundcard" type="text"
>> maxLength="45" size="45" value="Sound Blaster Compatible"
>> name="soundcard" runat="server"><br>
>> </FONT></TD>
>> </TR>
>> <TR>
>> <TD vAlign="top">
>> </TD>
>> <TD> </TD>
>> <TD vAlign="top" width="349">
>> </TD>
>> </TR>
>> <TR>
>> <TD vAlign="top"><FONT face="Verdana"
>> size="2"><FONT
>> color="#0099ff" size="2"><STRONG>RAM:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorram" runat="server" ErrorMessage="Enter Ram"
>>
>> ControlToValidate="ram"></asp:RequiredFieldValidator></STRONG></FONT><BR>
>> <INPUT id="ram" type="text" maxLength="45"
>> size="37" value="2MB" name="ram" runat="server"></FONT></TD>
>> <TD> </TD>
>> <TD vAlign="top" width="349"><FONT face="Verdana"
>> size="2"><FONT color="#0099ff" size="2"><STRONG>HARD
>> DRIVE:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorharddrive" runat="server" ErrorMessage="Enter
>> hard
>> drive"
>>
>>
ControlToValidate="harddrive"></asp:RequiredFieldValidator></STRONG></FONT><BR>
>> <INPUT id="harddrive" type="text"
>> maxLength="45" size="45" value="1GB" name="harddrive"
>> runat="server"><br>
>> </FONT></TD>
>> </TR>
>> </TABLE>
>> <P><FONT face="Verdana"><STRONG><FONT
>> color="#00ff00"><BR>
>> </FONT><FONT color="#0099ff">ADDITIONAL SYSTEM
>> INFORMATION:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatoradditionalsysteminformation" runat="server"
>> ErrorMessage="Enter system information"
>>
>>
ControlToValidate="additionalsysteminformation"></asp:RequiredFieldValidator></F
ONT></STRONG><BR>
>> This is basically anything else you want on your
>> web
>> page. You can fill it with
>> pages of text if you want. Make sure you run a
>> spell
>> check on it first :)<BR>
>> <TEXTAREA id="additionalsysteminformation"
>> name="additionalsysteminformation" rows="12" wrap="true"
>> cols="76" runat="server" bio="post" style="WIDTH:
>> 632px; HEIGHT: 198px">Erase this text and put yours in.</TEXTAREA><BR>
>> <BR>
>> </FONT><FONT face="Verdana" size="2">
>> <BR>
>> </FONT><FONT face="Verdana"><STRONG><FONT
>> color="#0099ff">SYSTEM PHOTO:
>> <asp:RequiredFieldValidator
>> id="RequiredFieldValidatorSystemPhoto" runat="server"
>> ErrorMessage="Enter
>> System Photo"
>>
>>
ControlToValidate="SystemPhoto"></asp:RequiredFieldValidator></FONT></STRONG><BR
>
>> This is a photo of your Computer System. If you
>> have
>> a
>> photo on the net and
>> want to use that paste the url into the box below.
>> If
>> you do not have a photo
>> at this time then you can leave in the default
>> photo
>> already in the box. If you
>> take out the link below without putting in a link
>> to
>> another photo your profile
>> will have no photo and look like crap. So either
>> have
>> a photo or leave the one
>> that is in there alone. <FONT color="#ff0000"
>> size="2">This is a 200x 200 image.</FONT></FONT><FONT face="Verdana"
>> size="2"><BR>
>> <INPUT id="SystemPhoto" type="text"
>> maxLength="100"
>> size="101" value="Images/SystemInformation.gif"
>> name="SystemPhoto" runat="server" style="WIDTH:
>> 640px; HEIGHT: 22px"><BR>
>> </FONT><FONT face="Verdana">
>> <BR>
>> <BR>
>> <INPUT id="Submit1" type="submit" value="Join the
>> Belching Toad Clan" name="B1" runat="server"><BR>
>> Click on this button to send your information to
>> the
>> database and become a
>> member of BTC. If you have missed anything or made
>> a
>> mistake it will be shown
>> in red at the point you made the mistake. If you
>> have
>> any problems then contact
>> me at <a
>> href="mailto:BelchermanBTC@...?subject=Problem with
>> Join
>> BTC Application">
>> BelchermanBTC@...</a> with the
>> issue
>> and I will try to
>> help. Welcome to the clan and have fun.<BR>
>> </FONT></P>
>> </FORM>
>>
>>
>>
>> ________________________________
>> Yahoo! Groups Links
>>
>> To visit your group on the web, go to:
>> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>>
>> To unsubscribe from this group, send an email to:
>> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>>
>> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Joined: 07 Jan 2006
Posts: 63
Form wil not submit.
wilsonWebform is 10 x easier than response.redirect solution no need
to loop through al form values and encode ete. plus ViewState makes it
with WilsonWebForm.
On Mon, 10 Jan 2005 15:50:17 -0500,
System-Administrator@...
<System-Administrator@...> wrote:
> I guess there are options such as:
>
> 1. Submitting to itself.
> IFisPostback then
> ..... process form
> Else
> ... first time display form.
> end if.
>
> 2. taking all the values and building a querystring and onto another page
> to
> update with a respons.redirect.
>
> Do these makes sense?
Joined: 03 Jan 2005
Posts: 15
Form wil not submit.
I found some intersting information on the net about this problem. It seems
there are tons of people and flaming of .net about it. So I guess that is
why they are going to fix that in 2.0. Basically my page that I am working
on has a JOIN FORM that submitted will add that record to the database and
then display the profile. Doing this in one page would be okay but what is
the way to show the form when the page is first displayed and then when it
is posted back HIDE it and display the results instead? I have a few ideas
but would be interested in others opinions on it.
The first time the page is loaded it would show this:
http://belchingtoadclan.gotdns.com/btcnet/JoinBTC.aspx
Then when submitted it would display this assuming the validation passed:
http://belchingtoadclan.gotdns.com/btcnet/ViewBTCMemberfromindex2.aspx?PlayingNa
me=Belcherman[BTC]
This would be there new member page and that it was completed.
I have read about panels and literals etc............. I know a lot of you
have already done all this with one page so I don`t want to re invent the
wheel. Any help would be appreciated.
P.S
It is my gaming clan that is 7 years old. If any of you play Half Life 2
Counterstrike Source your welcome to join or play with us on servers.
Mike Belcher
Have a nice day.
----- Original Message -----
From: "Charles Carroll" <911@...>
To: <AspNetAnyQuestionIsOk@yahoogroups.com>
Sent: Monday, January 10, 2005 4:01 PM
Subject: Re: [AspNetAnyQuestionIsOk] Form wil not submit.
>
> wilsonWebform is 10 x easier than response.redirect solution no need
> to loop through al form values and encode ete. plus ViewState makes it
> with WilsonWebForm.
>
>
> On Mon, 10 Jan 2005 15:50:17 -0500,
> System-Administrator@...
> <System-Administrator@...> wrote:
>> I guess there are options such as:
>>
>> 1. Submitting to itself.
>> IFisPostback then
>> ..... process form
>> Else
>> ... first time display form.
>> end if.
>>
>> 2. taking all the values and building a querystring and onto another
>> page
>> to
>> update with a respons.redirect.
>>
>> Do these makes sense?
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Joined: 26 Dec 2004
Posts: 12
Form wil not submit.
Yes, use panels. They work well.
It`s hard to break the classic ASP mentality when posting forms. But you will
get the hang of it.
Something like this will work:
If Page.IsPostBack Then
`The page is posting. Validate & insert record
`Set some sort of confirm.
`Show your updated profile.
`Hide the form panel.
pnlPanel1.Visible = false
else
`Page is loading but not posting. Show the panel that holds the form &
controls.
pnlPanel1.Visible = True
End If
Mark
System-Administrator@... wrote:
I found some intersting information on the net about this problem. It seems
there are tons of people and flaming of .net about it. So I guess that is
why they are going to fix that in 2.0. Basically my page that I am working
on has a JOIN FORM that submitted will add that record to the database and
then display the profile. Doing this in one page would be okay but what is
the way to show the form when the page is first displayed and then when it
is posted back HIDE it and display the results instead? I have a few ideas
but would be interested in others opinions on it.
The first time the page is loaded it would show this:
http://belchingtoadclan.gotdns.com/btcnet/JoinBTC.aspx
Then when submitted it would display this assuming the validation passed:
http://belchingtoadclan.gotdns.com/btcnet/ViewBTCMemberfromindex2.aspx?PlayingNa
me=Belcherman[BTC]
This would be there new member page and that it was completed.
I have read about panels and literals etc............. I know a lot of you
have already done all this with one page so I don`t want to re invent the
wheel. Any help would be appreciated.
P.S
It is my gaming clan that is 7 years old. If any of you play Half Life 2
Counterstrike Source your welcome to join or play with us on servers.
Mike Belcher
Have a nice day.
----- Original Message -----
From: "Charles Carroll" <911@...>
To: <AspNetAnyQuestionIsOk@yahoogroups.com>
Sent: Monday, January 10, 2005 4:01 PM
Subject: Re: [AspNetAnyQuestionIsOk] Form wil not submit.
>
> wilsonWebform is 10 x easier than response.redirect solution no need
> to loop through al form values and encode ete. plus ViewState makes it
> with WilsonWebForm.
>
>
> On Mon, 10 Jan 2005 15:50:17 -0500,
> System-Administrator@...
> <System-Administrator@...> wrote:
>> I guess there are options such as:
>>
>> 1. Submitting to itself.
>> IFisPostback then
>> ..... process form
>> Else
>> ... first time display form.
>> end if.
>>
>> 2. taking all the values and building a querystring and onto another
>> page
>> to
>> update with a respons.redirect.
>>
>> Do these makes sense?
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Joined: 03 Jan 2005
Posts: 15
Form wil not submit.
I have built the page and things work except udating the database. I get an
error and have searched on the net but cannot figure out how to fix it. The
error im getting is listed below. I am so close to making this work. It is
probably something silly. Thank you. Awsome group.
ERROR
Server Error in `/btcNET` Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error
and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an
instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
btcNET.JoinBTC.Page_Load(Object sender, EventArgs e) in
\webslavewwwroot$tcNETJoinBTC.aspx.vb:169
System.Web.UI.Control.OnLoad(EventArgs e) +102
System.Web.UI.Control.LoadRecursive() +45
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +952
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET
Version:2.0.40607.42
ERROR
Here is the page code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If IsPostBack Then
Dim strName, strPlayingname, strUserName, strPassword, strLocation,
strEmail, strAge, strIcq, strAim, strOccupation
Dim strBio, strPersonalInformation, strGamesPlayed, strConnect,
strOS, strProcessor, strRam, strVideocard
Dim strSoundcard, strHarddrive, strAdditionalsysteminformation,
strPhoto, strSystemPhoto
strName = Request.Form("name")
strPlayingname = Request.Form("playingname")
strUserName = Request.Form("username")
strPassword = Request.Form("password")
strLocation = Request.Form("location")
strEmail = Request.Form("email")
strAge = Request.Form("age")
strIcq = Request.Form("icq")
strAim = Request.Form("aim")
strOccupation = Request.Form("occupation")
strBio = Request.Form("bio")
strPersonalInformation = Request.Form("personalinformation")
strGamesPlayed = Request.Form("gamesplayed")
strConnect = Request.Form("connect")
strOS = Request.Form("os")
strProcessor = Request.Form("processor")
strRam = Request.Form("ram")
strVideocard = Request.Form("videocard")
strSoundcard = Request.Form("soundcard")
strHarddrive = Request.Form("harddrive")
strAdditionalsysteminformation =
Request.Form("additionalsysteminformation")
strPhoto = Request.Form("Photo")
strSystemPhoto = Request.Form("SystemPhoto")
`Testing variables
`Response.Write(strName)
`Response.Write(strPlayingname)
`Response.Write(strUserName)
`Response.Write(strPassword)
`Response.Write(strLocation)
`Response.Write(strEmail)
`Response.Write(strAge)
`Response.Write(strIcq)
`Response.Write(strAim)
`Response.Write(strOccupation)
`Response.Write(strBio)
`Response.Write(strPersonalInformation)
`Response.Write(strGamesPlayed)
`Response.Write(strConnect)
`Response.Write(strOS)
`Response.Write(strProcessor)
`Response.Write(strRam)
`Response.Write(strVideocard)
`Response.Write(strSoundcard)
`Response.Write(strHarddrive)
`Response.Write(strAdditionalsysteminformation)
`Response.Write(strPhoto)
`Response.Write(strSystemPhoto)
`Hide The Form on Submit
PanelJoin.Visible = False
`Open the Connection -------------------------------------
Dim objConn As OleDbConnection
Dim objConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:InetpubwwwroottcNETDBelcherman.mdb"
objConn = New OleDb.OleDbConnection(objConnString)
objConn.Open()
`---------------------------------------------------------
`Create a DataSet ----------------------------------------
Dim objDataSet As New DataSet
`Create a DataSet ----------------------------------------
`Build SQL String --------------------------------------
Dim strSQLstring As String
strSQLstring = "SELECT * FROM tblBTC"
`-------------------------------------------------------
`Create a DataAdapter ------------------------------------
Dim objDataAdapter As OleDbDataAdapter
objDataAdapter = New OleDbDataAdapter(strSQLstring, objConn)
`Create a DataAdapter ------------------------------------
`Create a DataTable ----------------------------------------
Dim objDataTable As DataTable
`Create a DataTable ----------------------------------------
`Create a DataRow ----------------------------------------
Dim objDataRow As DataRow
`Create a DataRow ----------------------------------------
objDataAdapter.Fill(objDataSet, "BTC MEMBERS")
objDataTable = objDataSet.Tables("tblBTC")
objDataRow = objDataTable.NewRow()
`Create Record Field Values here
objDataRow.Item("Name") = strName
objDataRow.Item("Playingname") = strPlayingname
objDataRow.Item("UserName") = strUserName
objDataRow.Item("Password") = strPassword
objDataRow.Item("Location") = strLocation
objDataRow.Item("Email") = strEmail
objDataRow.Item("Age") = strAge
objDataRow.Item("Icq") = strIcq
objDataRow.Item("Aim") = strAim
objDataRow.Item("Occupation") = strOccupation
objDataRow.Item("Bio") = strBio
objDataRow.Item("PersonalInformation") = strPersonalInformation
objDataRow.Item("GamesPlayed") = strGamesPlayed
objDataRow.Item("Connect") = strConnect
objDataRow.Item("OS") = strOS
objDataRow.Item("Processor") = strProcessor
objDataRow.Item("Ram") = strRam
objDataRow.Item("Videocard") = strVideocard
objDataRow.Item("Soundcard") = strSoundcard
objDataRow.Item("Harddrive") = strHarddrive
objDataRow.Item("Additionalsysteminformation") =
strAdditionalsysteminformation
objDataRow.Item("Photo") = strPhoto
objDataRow.Item("SystemPhoto") = strSystemPhoto
objDataTable.Rows.Add(objDataRow)
objDataAdapter.Update(objDataTable)
tblBTC.DataSource = objDataSet
tblBTC.DataBind()
`Show Completed Profile
PanelComplete.Visible = True
`Close things up ------------------------------------
objDataSet.Dispose()
objDataSet = Nothing
objDataAdapter = Nothing
objConn.Close()
objConn = Nothing
`Close things up ------------------------------------
Else
PanelJoin.Visible = True
PanelComplete.Visible = False
End If
End Sub
End Class
End Page code:
Mike Belcher
Independent Computer Consultant
[Non-text portions of this message have been removed]
Joined: 26 Dec 2004
Posts: 12
Form wil not submit.
I usually see this when I am trying to access a control that doesn`t exist. Or
I misspelled the control name.
Double check to make sure that you are correctly referencing all your controls.
Mark
System-Administrator@... wrote:
I have built the page and things work except udating the database. I get an
error and have searched on the net but cannot figure out how to fix it. The
error im getting is listed below. I am so close to making this work. It is
probably something silly. Thank you. Awsome group.
ERROR
Server Error in `/btcNET` Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error
and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an
instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
btcNET.JoinBTC.Page_Load(Object sender, EventArgs e) in
\webslavewwwroot$tcNETJoinBTC.aspx.vb:169
System.Web.UI.Control.OnLoad(EventArgs e) +102
System.Web.UI.Control.LoadRecursive() +45
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +952
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET
Version:2.0.40607.42
ERROR
Here is the page code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If IsPostBack Then
Dim strName, strPlayingname, strUserName, strPassword, strLocation,
strEmail, strAge, strIcq, strAim, strOccupation
Dim strBio, strPersonalInformation, strGamesPlayed, strConnect,
strOS, strProcessor, strRam, strVideocard
Dim strSoundcard, strHarddrive, strAdditionalsysteminformation,
strPhoto, strSystemPhoto
strName = Request.Form("name")
strPlayingname = Request.Form("playingname")
strUserName = Request.Form("username")
strPassword = Request.Form("password")
strLocation = Request.Form("location")
strEmail = Request.Form("email")
strAge = Request.Form("age")
strIcq = Request.Form("icq")
strAim = Request.Form("aim")
strOccupation = Request.Form("occupation")
strBio = Request.Form("bio")
strPersonalInformation = Request.Form("personalinformation")
strGamesPlayed = Request.Form("gamesplayed")
strConnect = Request.Form("connect")
strOS = Request.Form("os")
strProcessor = Request.Form("processor")
strRam = Request.Form("ram")
strVideocard = Request.Form("videocard")
strSoundcard = Request.Form("soundcard")
strHarddrive = Request.Form("harddrive")
strAdditionalsysteminformation =
Request.Form("additionalsysteminformation")
strPhoto = Request.Form("Photo")
strSystemPhoto = Request.Form("SystemPhoto")
`Testing variables
`Response.Write(strName)
`Response.Write(strPlayingname)
`Response.Write(strUserName)
`Response.Write(strPassword)
`Response.Write(strLocation)
`Response.Write(strEmail)
`Response.Write(strAge)
`Response.Write(strIcq)
`Response.Write(strAim)
`Response.Write(strOccupation)
`Response.Write(strBio)
`Response.Write(strPersonalInformation)
`Response.Write(strGamesPlayed)
`Response.Write(strConnect)
`Response.Write(strOS)
`Response.Write(strProcessor)
`Response.Write(strRam)
`Response.Write(strVideocard)
`Response.Write(strSoundcard)
`Response.Write(strHarddrive)
`Response.Write(strAdditionalsysteminformation)
`Response.Write(strPhoto)
`Response.Write(strSystemPhoto)
`Hide The Form on Submit
PanelJoin.Visible = False
`Open the Connection -------------------------------------
Dim objConn As OleDbConnection
Dim objConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:InetpubwwwroottcNETDBelcherman.mdb"
objConn = New OleDb.OleDbConnection(objConnString)
objConn.Open()
`---------------------------------------------------------
`Create a DataSet ----------------------------------------
Dim objDataSet As New DataSet
`Create a DataSet ----------------------------------------
`Build SQL String --------------------------------------
Dim strSQLstring As String
strSQLstring = "SELECT * FROM tblBTC"
`-------------------------------------------------------
`Create a DataAdapter ------------------------------------
Dim objDataAdapter As OleDbDataAdapter
objDataAdapter = New OleDbDataAdapter(strSQLstring, objConn)
`Create a DataAdapter ------------------------------------
`Create a DataTable ----------------------------------------
Dim objDataTable As DataTable
`Create a DataTable ----------------------------------------
`Create a DataRow ----------------------------------------
Dim objDataRow As DataRow
`Create a DataRow ----------------------------------------
objDataAdapter.Fill(objDataSet, "BTC MEMBERS")
objDataTable = objDataSet.Tables("tblBTC")
objDataRow = objDataTable.NewRow()
`Create Record Field Values here
objDataRow.Item("Name") = strName
objDataRow.Item("Playingname") = strPlayingname
objDataRow.Item("UserName") = strUserName
objDataRow.Item("Password") = strPassword
objDataRow.Item("Location") = strLocation
objDataRow.Item("Email") = strEmail
objDataRow.Item("Age") = strAge
objDataRow.Item("Icq") = strIcq
objDataRow.Item("Aim") = strAim
objDataRow.Item("Occupation") = strOccupation
objDataRow.Item("Bio") = strBio
objDataRow.Item("PersonalInformation") = strPersonalInformation
objDataRow.Item("GamesPlayed") = strGamesPlayed
objDataRow.Item("Connect") = strConnect
objDataRow.Item("OS") = strOS
objDataRow.Item("Processor") = strProcessor
objDataRow.Item("Ram") = strRam
objDataRow.Item("Videocard") = strVideocard
objDataRow.Item("Soundcard") = strSoundcard
objDataRow.Item("Harddrive") = strHarddrive
objDataRow.Item("Additionalsysteminformation") =
strAdditionalsysteminformation
objDataRow.Item("Photo") = strPhoto
objDataRow.Item("SystemPhoto") = strSystemPhoto
objDataTable.Rows.Add(objDataRow)
objDataAdapter.Update(objDataTable)
tblBTC.DataSource = objDataSet
tblBTC.DataBind()
`Show Completed Profile
PanelComplete.Visible = True
`Close things up ------------------------------------
objDataSet.Dispose()
objDataSet = Nothing
objDataAdapter = Nothing
objConn.Close()
objConn = Nothing
`Close things up ------------------------------------
Else
PanelJoin.Visible = True
PanelComplete.Visible = False
End If
End Sub
End Class
End Page code:
Mike Belcher
Independent Computer Consultant
[Non-text portions of this message have been removed]
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Joined: 03 Jan 2005
Posts: 15
Form wil not submit.
It says line 169 which appears to be this line
objDataRow = objDataTable.NewRow()
The html page has 2 panels.
PanelJoin
PanelComplete.
Inside PanelComplete is a ASP Repeater named tblBTC....
The names seem to be correct. I don`t know why it would hose on that line.
a the lines before it seem to do fine.
objDataAdapter.Fill(objDataSet, "BTC MEMBERS")
objDataTable = objDataSet.Tables("tblBTC")
objDataRow = objDataTable.NewRow()
Have a nice day.
----- Original Message -----
From: "Mark E" <meckeard2000@...>
To: <AspNetAnyQuestionIsOk@yahoogroups.com>
Sent: Tuesday, January 11, 2005 7:51 PM
Subject: Re: [AspNetAnyQuestionIsOk] Form wil not submit.
>
> I usually see this when I am trying to access a control that doesn`t
> exist. Or I misspelled the control name.
>
> Double check to make sure that you are correctly referencing all your
> controls.
>
> Mark
>
> System-Administrator@... wrote:
> I have built the page and things work except udating the database. I get
> an error and have searched on the net but cannot figure out how to fix it.
> The error im getting is listed below. I am so close to making this work.
> It is probably something silly. Thank you. Awsome group.
>
> ERROR
>
> Server Error in `/btcNET` Application.
>
--------------------------------------------------------------------------------
>
> Object reference not set to an instance of an object.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.NullReferenceException: Object reference not set
> to an instance of an object.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of the
> exception can be identified using the exception stack trace below.
>
> Stack Trace:
>
> [NullReferenceException: Object reference not set to an instance of an
> object.]
> btcNET.JoinBTC.Page_Load(Object sender, EventArgs e) in
> \webslavewwwroot$tcNETJoinBTC.aspx.vb:169
> System.Web.UI.Control.OnLoad(EventArgs e) +102
> System.Web.UI.Control.LoadRecursive() +45
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +952
>
>
>
>
--------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.40607.42;
> ASP.NET Version:2.0.40607.42
>
> ERROR
>
>
>
>
>
>
>
>
>
>
>
>
> Here is the page code:
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
>
>
> If IsPostBack Then
> Dim strName, strPlayingname, strUserName, strPassword,
> strLocation, strEmail, strAge, strIcq, strAim, strOccupation
> Dim strBio, strPersonalInformation, strGamesPlayed, strConnect,
> strOS, strProcessor, strRam, strVideocard
> Dim strSoundcard, strHarddrive, strAdditionalsysteminformation,
> strPhoto, strSystemPhoto
>
> strName = Request.Form("name")
> strPlayingname = Request.Form("playingname")
> strUserName = Request.Form("username")
> strPassword = Request.Form("password")
> strLocation = Request.Form("location")
> strEmail = Request.Form("email")
> strAge = Request.Form("age")
> strIcq = Request.Form("icq")
> strAim = Request.Form("aim")
> strOccupation = Request.Form("occupation")
> strBio = Request.Form("bio")
> strPersonalInformation = Request.Form("personalinformation")
> strGamesPlayed = Request.Form("gamesplayed")
> strConnect = Request.Form("connect")
> strOS = Request.Form("os")
> strProcessor = Request.Form("processor")
> strRam = Request.Form("ram")
> strVideocard = Request.Form("videocard")
> strSoundcard = Request.Form("soundcard")
> strHarddrive = Request.Form("harddrive")
> strAdditionalsysteminformation =
> Request.Form("additionalsysteminformation")
> strPhoto = Request.Form("Photo")
> strSystemPhoto = Request.Form("SystemPhoto")
>
> `Testing variables
> `Response.Write(strName)
> `Response.Write(strPlayingname)
> `Response.Write(strUserName)
> `Response.Write(strPassword)
> `Response.Write(strLocation)
> `Response.Write(strEmail)
> `Response.Write(strAge)
> `Response.Write(strIcq)
> `Response.Write(strAim)
> `Response.Write(strOccupation)
> `Response.Write(strBio)
> `Response.Write(strPersonalInformation)
> `Response.Write(strGamesPlayed)
> `Response.Write(strConnect)
> `Response.Write(strOS)
> `Response.Write(strProcessor)
> `Response.Write(strRam)
> `Response.Write(strVideocard)
> `Response.Write(strSoundcard)
> `Response.Write(strHarddrive)
> `Response.Write(strAdditionalsysteminformation)
> `Response.Write(strPhoto)
> `Response.Write(strSystemPhoto)
>
>
> `Hide The Form on Submit
> PanelJoin.Visible = False
>
>
>
> `Open the Connection -------------------------------------
> Dim objConn As OleDbConnection
> Dim objConnString As String =
> "Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=C:InetpubwwwroottcNETDBelcherman.mdb"
> objConn = New OleDb.OleDbConnection(objConnString)
> objConn.Open()
> `---------------------------------------------------------
>
> `Create a DataSet ----------------------------------------
> Dim objDataSet As New DataSet
> `Create a DataSet ----------------------------------------
>
> `Build SQL String --------------------------------------
> Dim strSQLstring As String
> strSQLstring = "SELECT * FROM tblBTC"
> `-------------------------------------------------------
>
> `Create a DataAdapter ------------------------------------
> Dim objDataAdapter As OleDbDataAdapter
> objDataAdapter = New OleDbDataAdapter(strSQLstring, objConn)
> `Create a DataAdapter ------------------------------------
>
> `Create a DataTable ----------------------------------------
> Dim objDataTable As DataTable
> `Create a DataTable ----------------------------------------
>
> `Create a DataRow ----------------------------------------
> Dim objDataRow As DataRow
> `Create a DataRow ----------------------------------------
>
> objDataAdapter.Fill(objDataSet, "BTC MEMBERS")
>
> objDataTable = objDataSet.Tables("tblBTC")
>
> objDataRow = objDataTable.NewRow()
>
> `Create Record Field Values here
> objDataRow.Item("Name") = strName
> objDataRow.Item("Playingname") = strPlayingname
> objDataRow.Item("UserName") = strUserName
> objDataRow.Item("Password") = strPassword
> objDataRow.Item("Location") = strLocation
> objDataRow.Item("Email") = strEmail
> objDataRow.Item("Age") = strAge
> objDataRow.Item("Icq") = strIcq
> objDataRow.Item("Aim") = strAim
> objDataRow.Item("Occupation") = strOccupation
> objDataRow.Item("Bio") = strBio
> objDataRow.Item("PersonalInformation") = strPersonalInformation
> objDataRow.Item("GamesPlayed") = strGamesPlayed
> objDataRow.Item("Connect") = strConnect
> objDataRow.Item("OS") = strOS
> objDataRow.Item("Processor") = strProcessor
> objDataRow.Item("Ram") = strRam
> objDataRow.Item("Videocard") = strVideocard
> objDataRow.Item("Soundcard") = strSoundcard
> objDataRow.Item("Harddrive") = strHarddrive
> objDataRow.Item("Additionalsysteminformation") =
> strAdditionalsysteminformation
> objDataRow.Item("Photo") = strPhoto
> objDataRow.Item("SystemPhoto") = strSystemPhoto
>
> objDataTable.Rows.Add(objDataRow)
> objDataAdapter.Update(objDataTable)
>
>
> tblBTC.DataSource = objDataSet
> tblBTC.DataBind()
>
>
> `Show Completed Profile
> PanelComplete.Visible = True
>
> `Close things up ------------------------------------
> objDataSet.Dispose()
> objDataSet = Nothing
>
> objDataAdapter = Nothing
>
> objConn.Close()
> objConn = Nothing
> `Close things up ------------------------------------
>
>
>
> Else
> PanelJoin.Visible = True
> PanelComplete.Visible = False
>
>
> End If
>
>
>
>
> End Sub
>
>
>
>
> End Class
> End Page code:
>
>
>
> Mike Belcher
> Independent Computer Consultant
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ---------------------------------
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







