posted @ 2009-02-02 22:21 Zhiyett 阅读(3309) 评论(0) 推荐(0) 编辑
摘要:
var downloadLink = document.getElementById('downloadFileLink');downloadLink.onclick(); //this sentence can't run in firefox解决办法:标签中添加onclick事件Code highlighting produced by Actipro CodeHighlighter (fr... 阅读全文
摘要:
1.注释掉如下代码//[assembly: AssemblyKeyFile("D:\\MySn.snk")] //[assembly: AssemblyDelaySign(false)] 阅读全文
posted @ 2009-02-02 16:01 Zhiyett 阅读(149) 评论(0) 推荐(0) 编辑
摘要:
http://www.dotnetspace.com/articles/general-articles/using-log4net---very-quick-start.html 阅读全文
posted @ 2009-01-31 23:29 Zhiyett 阅读(167) 评论(0) 推荐(0) 编辑
摘要:
一、使用图片来显示错误信息Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> " > 其中调用javascript函数validate_Integ... 阅读全文
posted @ 2009-01-31 21:16 Zhiyett 阅读(422) 评论(0) 推荐(0) 编辑
摘要:
方法1.按如下代码更改 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms... 阅读全文
posted @ 2009-01-31 20:34 Zhiyett 阅读(315) 评论(0) 推荐(0) 编辑
摘要:
1.ToString()方法double d=12345678.2334;Console.WriteLine(d.ToString("F2")); //1234.23Console.WriteLine(d.ToString("###,###.00")); //12,345,678.232.Math.Round()方法Math.Round(3.44, 1); //Returns 3.4.Math.R... 阅读全文
posted @ 2009-01-31 20:20 Zhiyett 阅读(1437) 评论(0) 推荐(0) 编辑
摘要:
1 接口的定义Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public interface IAttribute{ string Name { get;set;}}public class Component : IAttribute{ ... 阅读全文
posted @ 2009-01-31 19:07 Zhiyett 阅读(201) 评论(0) 推荐(0) 编辑
摘要:
------ToolStrip 其中每个按钮的属性(设置Tag等),其事件为 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->private void SetStyle(object sender,EventArgs e){ Tool... 阅读全文
posted @ 2009-01-31 17:36 Zhiyett 阅读(431) 评论(0) 推荐(0) 编辑