随笔 - 22  文章 - 0  评论 - 26  阅读 - 35805
04 2011 档案
javascript将xml文件绑定到table上
摘要:<html><head><title>绑定到Table</title></head><body><xml id="cdcat" src="被绑定table.xml" tppabs="将XML文件绑定到Table.xml"></xml><table border="1" datasrc="#cdcat"><thead><tr><th>演唱者</th& 阅读全文
posted @ 2011-04-28 17:45 锥子 阅读(416) 评论(0) 推荐(0) 编辑
C#基础 面试中常出现的问题
摘要:1,传入某个属性的set方法的隐含参数的名称是什么?value,它的类型和属性所声名的类型相同。 2,如何在C#中实现继承?在类名后加上一个冒号,再加上基类的名称。 3,C#支持多重继承么?不支持。可以用接口来实现。 4,被protected修饰的属性/方法在何处可以访问?在继承或间接继承与这个类的子类中可以访问。 5,私有成员会被继承么?会,但是不能被访问。所以看上去他们似乎是不能被继承的,但实际上确实被继承了。 6,请描述一下修饰符protected internal。 被protected internal修饰的属性/方法只能在它的在同一个程序集(Assembly)中的子类被访问。 7, 阅读全文
posted @ 2011-04-21 10:45 锥子 阅读(473) 评论(0) 推荐(2) 编辑
.net 文件点击直接下载函数 记录
摘要:void down(string filepath) { //确定文件的物理路径 string filePath = Server.MapPath(filepath); FileInfo Fi = new FileInfo(filePath); if (Fi.Exists) { FileStream fs = new FileStream(filePath, FileMode.Open); byte[] bytes = new byte[(int)fs.Length]; fs.Read(bytes, 0, bytes.Length); fs.Close(); Response.ContentT 阅读全文
posted @ 2011-04-07 15:45 锥子 阅读(352) 评论(0) 推荐(0) 编辑

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10

点击右上角即可分享
微信分享提示