博客统计信息

用户名:逍遥散人
文章数:60
评论数:32
访问量:40785
无忧币:1996
博客积分:1190
博客等级:5
注册日期:2007-06-08

公告

我们是程序员,不是代码工人,不是IT民工,是一群用代码改变世界的人。
我们的代码可以给社会带来进步,也可能给社会带来灾难,我们的责任重于泰山;
我们生活于现实世界,却在创造虚拟世界,我们的创造力无限...
如果阿基米德是程序员,他会说“给我一台电脑,我就能改变世界”。

2011-07-19 15:22:19
<SCRIPT type=text/javascript>      
var s1 = new SWFObject("ChinaMap.swf","ply","600","500","10","#FFFFFF");       s1.addParam("allowfullscreen","true");       s1.addParam("allownetworking","all");       s1.addParam("allowscriptaccess","always");       s1.addParam("wmode","transparent");       s1.addVariable("title","中华人民共和国");       s1.addVariable("xmlurl","d.xml");       s1.addVariable("jsHandler","eventHandler");       s1.write("container");    
</SCRIPT>
类别:jQuery|阅读(1043)|回复(1)|(1)阅读全文>>
highcharts是基于javascript的高交互的图表封装。目前highcharts可以非常轻松的画出线图,列图,饼图,传播图,区域图等。能兼容主流浏览器(包括IE6)。

相关的资料:
Highcharts 官网:http://www.highcharts.com
Highcharts 官网示例:http://www.highcharts.com/demo/
Highcharts 官网文档:http://www.highcharts.com/documentation/how-to-use
Highcharts 选项参考:http://www.highcharts.com/ref/#chart

附饼状图示例,以供参考。
类别:jQuery|阅读(1448)|回复(0)|(0)阅读全文>>
执行下面的代码:

string _fileName="热烈庆祝中国共产党成立90周年.doc";

Response.AddHeader("content-disposition", "attachment;filename=" + _fileName);
Response.AppendHeader("Content-Type", _fileExtension);
Response.AddHeader("Content-Length", "" + filesoure.Length);
Response.BinaryWrite(filesoure);
Response.Flush();
Response.End();
类别:C#|阅读(0)|回复(0)|(0)阅读全文>>
本文侧重介绍淘宝网后台的图片存储系统架构、包括TFS集群文件系统,以及前端处理服务器架构。
类别:收藏|阅读(201)|回复(1)|(1)阅读全文>>

以下是登录几个重要搜索引擎的网站登录入口地址:
百度:http://www.baidu.com/search/url_submit.html
Google:http://www.google.com/intl/zh-CN/add_url.html
中国雅虎:http://search.help.cn.yahoo.com/..
一、选择题
  ◎单选(14分)
  1、蓝凤凰及其诸位女弟子通过水蛭将血输到令狐冲体内,你可以得到以下那种推测:
  a、令狐冲为ab型血,蓝凤凰及其弟子为a、b、或ab型
  b、令狐冲为b型血,蓝凤凰及其..
概要:
  子线程工作,发送成功邮件做标记,逐条提取数据,气泡提示信息,最小化到托盘,实时进度条

代码:
void mailSend_onMailSendProgress(int total, int current)

    {
        try
        {
          if (this.InvokeRequired)

          {
            this.Invoke(new MailSend.dMailSendProgress(mailSend_onMailSendProgress), new object[] { total, current });

          }
          else
          {
            InitMailList();
            string percent = (((current + 1) *100) / mailTotalCount).ToString() + "%";

            string progress = percent + " " + (current + 1) + "/" + mailTotalCount;

            this.lableTimer.Text = progress;

            this.notifyIcon1.ShowBalloonTip(Interval,"", progress,ToolTipIcon.None);//气泡提示信息
            this.progressBar1.Maximum = total;

            this.progressBar1.Value = current;

            if (total > 0 && subject.Length > 0)

            {                                                      

                if (Send(mailto, subject, body))
                {
                  UpdateMailState(mailto, 1);

                  LoadMailList();
                }
            }
            if (current == total - 1)

            {
                this.notifyIcon1.ShowBalloonTip(Interval, "", "发送完毕,成功发送" + sucNum + "封", ToolTipIcon.None);

                this.progressBar1.Visible = false;
                this.lblProgress.Visible = false;
                this.lableTimer.Text = "";

                ControlEnabled(true);
                return;
            }
          }
        }
        catch(Exception ex)
        {
          this.notifyIcon1.ShowBalloonTip(Interval, "", ex.Message, ToolTipIcon.None);

          System.Threading.Thread.Sleep(Interval * 2);
          base.Dispose(true);
          Application.ExitThread();
          KillThread();
        }
    }
类别:C#|阅读(242)|回复(5)|(3)阅读全文>>
2010-12-08 09:48:26
在ashx页面中不能直接使用Session,首先要继承 System.Web.SessionState.IRequiresSessionState 的接口。
其中:System.Web.SessionState.IReadOnlySessionState为只读会话的接口;System.Web.SessionState.IRequiresSessionState为可读可写会话的接口,这个看情况而继承吧……^_^……
     
代码如下:
类别:C#|阅读(15)|回复(0)|(0)阅读全文>>
2010-12-07 13:20:04
PdfDocumentRenderer renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always);
renderer.Document = doc;
renderer.RenderDocument();
renderer.PdfDocument.Save(filePath);
类别:C#|阅读(116)|回复(0)|(0)阅读全文>>
2010-10-28 15:20:13
Windows Presentation Foundation (WPF) 是下一代显示系统,用于生成能带给用户震撼视觉体验的Windows 客户端应用程序。使用 WPF,您可以创建广泛的独立应用程序以及浏览器承载的应用程序。
WPF的核心是一个与分辨率无关并且基于向量的呈现引擎,旨在利用现代图形硬件的优势。WPF通过一整套应用程序开发功能扩展了这个核心,这些功能包括 可扩展应用程序标记语言 (XAML)、控件、数据绑定、布局、二维和三维图形、动画、样式、模板、文档、媒体、文本和版式。WPF包含在 Microsoft .NET Framework 中,使您能够生成融入了 .NET Framework 类库的其他元素的应用程序。
类别:C#|阅读(32)|回复(0)|(1)阅读全文>>
 <<   1   2   3   4   5   >>   页数 ( 1/6 )