dimanche 22 janvier 2017

Turn html into asp.net/aspx

I'm trying to port my website from html to asp.net.

I have been using dreamweaver to make/design my website so far(using bootstrap). but i want to use asp.net C# to make the "action" and functionality. But I don't know how I can transfer from html to asp.net.


<button type="button">Default Button</button>'

thats what a normal html button looks like

<asp:Button ID="Button1" runat="server" Text="Button" />

and thats what a asp.net button looks like.

with the asp.net button i can just dubbleclick the button and it will generate code that looks like:

protected void Button1_Click(object sender, EventArgs e)
{

}

but if i have a normal html button i cant do that so thats why i want to port it




Aucun commentaire:

Enregistrer un commentaire