易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net 前后台程序写到一起

 <%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace ="System.Text" %>
<%@ Import Namespace="System.Data" %>
<%
    
    for (int i = 0; i <= 10; i++)
    {
        int j=0;
        j += i;
        j++;
        Response.Write(j+"<br/>");
    }
    
 
     %>
     <%   Response.Write("花花"); %>
     <%
     
      %>
这样写起来很方便


相关文档:

asp.net弹出窗口设计

asp.net弹出窗口设计
〔转〕http://hi.baidu.com/%CE%DE%B7%E7%CC%FD%BA%A3/blog/item/af7182c596ce3bc339db4959.html
摘要:本文讨论如何以ASP.NET中的CodeBehind方式实现各种弹出窗口,实现与弹出窗口的交互。并探讨常用非标准IE浏览器对弹出的窗口的各种过滤行为及使用弹出窗口相应对策,以期给出使用弹出窗口的一个通 ......

asp.net数据导出到word

我觉得这个文章不能算我的原创,因为代码也是我从别的地方找到的,而且我在网上查了,基本上都是这套代码。
通用的把数据倒进word或者excel。这里的导入excel和我之前的那篇文章中的方法是不一样的。
代码如下:
aspx页面中:
<form id="form1" runat="server">
       &nbs ......

ASP.NET常用代码

1. 打开新的窗口并传送参数:
 
传送参数:
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")
接收参数:
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.为按钮添加对话框
Button1.Attribut ......

ASP.NET(c#)常用类函数

 
常用函数系列:
public static string Get_ClientIP() 得到客户端IP
public static string Get_CMac(string IP) 得到客户端 CMac 地址
public static string RequestF(string xPName,string xPType,int xLenDef) 安全接收数据系列
public static string Show_Cont(string xStr) 过滤显示字串
public static str ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号