合并cs的代码

<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %>

<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>
<%@ Import Namespace="WcfService1" %>
<!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 id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
<script runat="server">
protected void Button1_Click(object sender, EventArgs e)
{
string message = "aaaabbb";
Class1 cl = new Class1();
message = cl.GetData();
Label1.Text = message; }
</script>

参考文章:

http://www.cnblogs.com/studyzy/archive/2007/07/25/830856.html

最新文章

  1. 对jquery分页的升级
  2. 高效能人士必知铁律--note
  3. js验证函数摘录
  4. 使用WMI控制Windows进程 和服务
  5. MySQL教程及经常使用命令1.1
  6. HDU Wolf and Rabbit
  7. Android View系统解析(上)
  8. spring boot自定义starter
  9. bzoj5107: [CodePlus2017]找爸爸
  10. oracle存储过程和存储函数&amp;触发器
  11. 如何理解MVC?
  12. 移动应用滑动屏幕方向判断解决方案,JS判断手势方向
  13. ToList()分组用法...
  14. Freemarker 基本数据类型
  15. NameError: name &#39;picamera&#39; is not defined
  16. Codeforces Round #191 (Div. 2) B. Hungry Sequence(素数筛选法)
  17. sqlmap中tamper脚本绕过waf
  18. 随机森林(Random Forest)详解(转)
  19. Web中的中文参数乱码
  20. 关于swift 单元测试的补充

热门文章

  1. HDU 2111:Saving HDU(贪心)
  2. spfa【模板】
  3. jsp页面九大内置对象
  4. 在函数内部定义的函数 this 指向 undefined
  5. hadoop 配置文件简析
  6. Nginx 下部署 HTTPS 与安全调优
  7. 大快DKhadoop安装教程与常见问题汇总
  8. flutter初探
  9. 杂项:Mantis
  10. numpy里的randn