当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: .net下软件的自动升级--上传代码如下: UpLoad.
 

 

 ·sybase基础知识     »显示摘要«
    摘要:sybase基础知识 http://www.chinaunix.net 作者:陈苏文 发表于:2002-10-14 16:31:50 第一讲 sybase基础知识 一、客户/服务器体系结构sybase是一种建立在客户/服务器体系结构上的数据库管理系统。●什么是客户/服务器体系结构?从硬件角度看,客户/服务器体系结构是指将某项任务在两台或多台机器之间进行分配,其中客户机(client)用来运行......
 ·java静态变量    »显示摘要«
    摘要:java的静态变量相当于类字段,而不用理解为对象字段。 static fields and methodsin all sample programs that you have seen, the main method is tagged with the static modifier. we are now ready to discuss the meaning of this m......


.net下软件的自动升级--上传

.net下软件的自动升级--上传 【程序编程相关:我的文章-《剖析Delphi中的多态》

【推荐阅读:openwebmail安装笔记

【扩展信息:我的文章-《剖析Delphi中的构造和析

代码如下:

upload.aspx.cs

using system;

using system.collections;

using system.componentmodel;

using system.data;

using system.drawing;

using system.web;

using system.web.sessionstate;

using system.web.ui;

using system.web.ui.webcontrols;

using system.web.ui.htmlcontrols;

using system.io;

namespace uploadnote

{

 /// <summary>

 /// webform1 的摘要说明.

 /// </summary>

 public class upload : system.web.ui.page

 {

  protected system.web.ui.webcontrols.label fname;

  protected system.web.ui.webcontrols.label fenc;

  protected system.web.ui.webcontrols.label fsize;

  protected system.web.ui.webcontrols.label labelerror;

  protected system.web.ui.htmlcontrols.htmlinputfile myfile;

  protected system.web.ui.htmlcontrols.htmlinputbutton button1;

 

  private void page_load(object sender, system.eventargs e)

  {

   // 在此处放置用户代码以初始化页面

        if(labelerror.text != "")

       {

        labelerror.text = "";


...   下一页
    摘要:一、 填空题(每空1分,共30分)1、根据信号在信道上的传输方向,按数据通信方式分为〈 〉 、〈 〉、〈 〉。2、在osi的管理体系中,定义了五个管理功能,它们是〈 〉、〈 〉、〈 〉、〈 〉、〈 〉。3、面向连接服务具有〈 〉、〈 〉 和〈 〉这三个阶段。4、数据通信是指〈 〉。5、计算机网络的功能主要表现在〈 〉、〈 〉、〈 〉、〈 〉。6、tcp/ip体系共有四个层次,它们是〈 〉、〈 〉、......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE