Last active
August 29, 2015 14:05
-
-
Save niisar/fb00d92f57e7230ca6f5 to your computer and use it in GitHub Desktop.
no runat server tag.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public partial class Pkg_Doc_del : System.Web.UI.Page | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
//string n = String.Format("{0}", Request.Form["customerName"]); | |
//Response.Write(n); | |
} | |
protected void btn_Click(object sender, EventArgs e) | |
{ | |
string n = String.Format("{0}", Request.Form["customerName"]); | |
Response.Write(n); | |
} | |
} | |
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="del.aspx.cs" Inherits="Pkg_Doc_del" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<body> | |
<form runat="server"> | |
<input id="customerName" name="customerName" type="Text" /> | |
<input id="customerPhone" name="customerPhone" type="Text" /> | |
<input value="Save" type="Submit" /> | |
<asp:Button ID="btn" runat="server" onclick="btn_Click" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It Handel's normal HTML element in asp.net.