自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (12)
  • 收藏
  • 关注

原创 支持断点续传﹐IE识的文件类型也不会在IE口中开启

System.IO.Stream iStream = null;byte[] buffer = new Byte[10240];int length;long dataToRead;string filename = System.IO.Path.GetFileName("filename.xls");try{iStream = new System.IO.FileStream(dfdo.Disk

2008-05-27 15:47:00 319

原创 C#读取一个目录,然后点击其中一个节点动态加载他的子目录和文件,节省开销

using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We

2008-05-26 17:02:00 615

原创 使用DefaultButton 实现回车事件,可以有多个,甚至在用户控件内也行

 

2008-05-26 16:18:00 302

原创 c#递归 读取文件目录,然后绑定treeview

protected void Page_Load(object sender, EventArgs e)    {        if (!IsPostBack)        {            TreeNode tp = new TreeNode("0", "0");            Fun(@"F:/1月27日下午6点", tp);            //for

2008-05-26 13:31:00 650

原创 自定义控件之事件回传

using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace JinXingWebControl{    [Defa

2008-05-22 10:06:00 492

原创 Response.AddHeader实现下载

 ///     /// Response.AddHeader实现下载    ///     /// 完整的文件路径    /// 文件名    private void DownFile(string filePath, string fileName)    {        FileInfo fileInfo = new FileInfo(filePath);        Response

2008-05-21 11:00:00 1724 1

原创 asp.net打印

B/S结构导致了Web应用程序中打印的特殊性。   ? 程序运行在浏览器中,打印机在本地,而文件确可能在服务器上,导致了打印控制不是很灵活。  ? 格式如何控制和定制等,是我们开发中可能会面对的问题。  打印文档的生成  ? 1、客户端脚本方式  一般情况下,主要使用JS 可以分析源页面的内容,将欲打印的页面元素提取出来,实现打印。通过分析源文档的内容,可以生成打印目标文档。 

2008-05-21 10:23:00 763

原创 开发自定义控件样式(5)--webcontrol的独立方法与样式

using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace JinXingWebControl{    [Defa

2008-05-16 23:42:00 712

原创 最简单的自定义控件(4)--使用Viewstate最为属性的内部保存

using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace JinXingWebControl{    [Defa

2008-05-16 22:41:00 864

原创 最简单的自定义控件(3)--与HtmlTextWriter有关的枚举

using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace JinXingWebControl{    [Defa

2008-05-16 22:29:00 437

原创 最简单的自定义控件(2)--增加基本属性

  private string paymentMethodText = "Payment Method";        private string creditCardNoText = "CreditCardNoText";        private string cardHolderNameText = "CardHolderNameText";        private stri

2008-05-16 21:52:00 343

原创 最简单的自定义控件(1)

    protected override void Render(HtmlTextWriter writer)        {            writer.Write("");            writer.Write("");            writer.Write("Payment Method");            writer.Write("");    

2008-05-16 21:34:00 470

转载 一般的c#面试笔试题

1)面向对象的语言具有__继承性_性、_封装性_性、_多态性 性。(2)能用foreach遍历访问的对象需要实现 _ IEnumerable 接口或声明_ GetEnumerator 方法的类型1.c#中的三元运算符是__?:__2.当整数a赋值给一个object对象时,整数a将会被__装箱___?3.类成员有__3__种可访问形式?4.public static const int A=1;

2008-05-13 14:58:00 2760

原创 17个人围成一圈,从第一个人开始报数,报到3的退出

using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication4{    class Program    {        static void Main(string[] args)        {           PersonList psl= new P

2008-05-09 13:21:00 2034

aspose.word .net +.netcore 版本可用

aspose.word .net +.netcore 版本可用

2021-04-08

server 2012安装fx35 需要的资源 sxs

在server 2012上安装sqlserver 数据库,需要安装 fx35,否则不能安装成功,而系统自身又不带fk 35,需要下载此资源, 安装fx35 需要的资源 sxs

2019-06-18

天气预报城市ID

天气预报城市ID

2014-09-28

rtcp,rtsp源码

r t c p ,trsp, 源码

2011-08-16

fckeditor-new

fckeditor-newfckeditor-new

2009-12-28

系统分析师论文(转传)

系统分析师论文,系统分析师论文,系统分析师论文,系统分析师论文

2009-03-04

js 导航 菜单

js菜单,下载别人的然后有上传的,呵呵,挣积分啦

2008-10-28

wpf把xaml保存成gif png 或者 jpg

wpf把xaml保存成gif png 或者 jpg

2008-09-11

silverlight 生成超酷的报表图

silverlight 生成超酷的报表图

2008-09-09

sivlerlight 相册 剪辑,滤镜,添加文字等效果

sivlerlight 相册 剪辑,滤镜,添加文字等效果

2008-09-08

silverlight 支持右键和滚轮

silverlight 支持右键和滚轮(转载)

2008-07-31

silverlight右键

silverlight 右键

2008-07-31

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除