Welcome aboard! We are happy you are here and wish you good net-raft!
<% @Page Language="C#" %>
<script runat="server">
private void function1(object sender, EventArgs e)
{
changed_value.InnerHtml = "Welcome to the world of C#!";
}
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<input runat="server" id="button1" type="submit" value="click" OnServerClick="function1"/>
<hr />
<h3> Results: </h3>
<span runat="server" id="changed_value" />
</form>
</body>
</html> 
The most helpful C# solutions
detect ie C#C# Click to see more ... 4.7K 853