-
-
Save rionmonster/90eb1a0e09f3daeb420642d2d75cbd94 to your computer and use it in GitHub Desktop.
This file contains 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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExampleForm.aspx.cs" Inherits="Example.ExampleForm" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<body> | |
<form id="form1" runat="server"> | |
<div class="col-xs-12 col-sm-6 col-md-6"> | |
<div class="form-group"> | |
<input type="text" name="Address1" id="Address1" runat="server" class="form-control input-lg address" placeholder="Full Address" maxlength="50" tabindex="2" /> | |
</div> | |
</div> | |
<asp:Button ID="Done" runat="server" Text="Done!" /> | |
</form> | |
</body> | |
</html> |
This file contains 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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
namespace Example | |
{ | |
public partial class WebForm2 : System.Web.UI.Page | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
// This will be populated after a PostBack occurs | |
var text = Address1.Value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment