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

ASP.NET数据库导入Excel

                StringWriter sw = new StringWriter();
                sw.WriteLine("访问购买率");
                sw.WriteLine("排行\t商品名称\t人气指数\t购买次数\t访问购买率");
                int i = 0;
                foreach (ProductSaleInfo productSale in productSaleList)
                {
                    i = i + 1;
                    sw.WriteLine(i.ToString() + "\t" + productSale.Name.ToString() + "\t" + productSale.ViewCount.ToString() + "\t" + productSale.SaleCount.ToString() + "\t" + XWXCommon.ProductBuyRate(productSale.ViewCount.ToString(), productSale.SaleCount.ToString()));
                }
                sw.Close();
                Response.Clear();
                Response.Buffer = true;
                Response.Charset = "GB2312";
                Response.AppendHeader("Content-Disposition&


相关文档:

asp.net学习步骤


第一步 掌握一门。NET面向对象语言,C#或VB.NET 我强烈反对在没系统学过一门面向对象(OO)语言的前提下去学ASP.NET。 ASP.NET是一个全面向对象的技术,不懂OO,那绝对学不下去!
第二步 对。NET Framework类库有一定的了解 可以通过开发Windows Form应用程序来学习。NET Framework。ASP.NET是建构在。NET Framework之 ......

ASP.NET播放视频文件

///C#中的媒体播放类
using System;
namespace ConfigTools
{
/// <summary>
/// PlayClass 的摘要说明。
///原作CSDN,经本人稍加修改
/// </summary>
public class PlayClass
{
public PlayClass()
{
......

asp.net 获得路径

测试的url地址是http://www.test.com/testweb/default.aspx,   结果如下:  
  Request.ApplicationPath:   /testweb  
  Request.CurrentExecutionFilePath:   /testweb/default.aspx  
  Request.FilePath:   /testweb/defa ......

asp.net + jquery+json 的简单实例

这里是我的一个简单的jquery+json的连库操作,只是一个简单查询,
//后台代码
<%@ WebHandler Language="C#" Class="show" %>
using System;
using System.Web;
using System.Collections.Generic;
using Model;
using DAL;
using System.Web.Script.Serialization;
public class show ......

ASP.NET DBHelper类

using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Data.Common;
using System.Data;
namespace DownData.dal
{
    public static class DBHelper
    {
        private stati ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号