hi all,
i want to know how to set a submit button in asp.

Recommended Answers

All 3 Replies

hi all,
i want to know how to set a submit button in asp.

The example below demonstrates a simple Button control:

<form runat="server">
<asp:Button id="b1" Text="Submit" runat="server" />
</form>
/body>
</html>
[ref 1]

ref 1: http://www.w3schools.com/aspnet/aspnet_button.asp
please refer to this website !

See if you want to implement a Button in asp , same code where

in the beginning of the form you put like this

< form name="xyz" action="targetpage.asp" method="post">

To Implement a button
<input type="submit" value="submit or some text">

</form>

Just look at this code Ok.. cheers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.