Asp.Net Form...

Illusion

Centurion
Joined
Aug 7, 2003
Messages
105
Location
Uk
Hi,

I'm having a little problem with the asp.net forms. I have a master page and a default page created from new, I've put;

<form id="form1" method="post" runat=server enctype ="multipart/form-data" >
<input id="uploadMyFile" type=file runat =server />
<asp:button id="cmdSend" runat="server" Text="Send" onclick="cmdSend_Click"/>
</form>

on the Default page, but when I run it I get ' You can only have one form tag ', which I can understand, but how do I go about making it so I can upload files using the form on the Default.aspx? .. or is there another way.


Thanks
 
Hi,

ahhhh .. I didn't know about that control.. oops *is still new at asp.net 0:)* .. thanks for that :)
 
Back
Top