<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[魚將.NET]]></title><description><![CDATA[.NET Program Develop]]></description><link>https://blog.csdn.net/cstester</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; cstester]]></copyright><item><title><![CDATA[microsoft.office.interop.excel.dll 服务器权限问题 （0x800A03EC）]]></title><link>https://blog.csdn.net/cstester/article/details/120642190</link><guid>https://blog.csdn.net/cstester/article/details/120642190</guid><author>cstester</author><pubDate>Thu, 07 Oct 2021 21:46:38 +0800</pubDate><description><![CDATA[一.检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件失败，原因是出现以下错误: 80070005 拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))。

原因没有下载对应版本的OFFICE， （只安装了WPS是不行的，组件不完整）

2003下载地址：http://www.uzzf.com/soft/422284.html

注册码：GWH28-DGCMP-P6RC4-6J4MT-3HF]]></description><category></category></item><item><title><![CDATA[asp.net 中 Interop.Excel.dll 无模版创建 excel 并下载到本地]]></title><link>https://blog.csdn.net/cstester/article/details/120397644</link><guid>https://blog.csdn.net/cstester/article/details/120397644</guid><author>cstester</author><pubDate>Tue, 21 Sep 2021 01:05:03 +0800</pubDate><description><![CDATA[// 调用此方法 需要添加引用 -&gt;  COM -&gt;  Microsoft Excel 12.0 Object Library


 public void ExportExcel()
    {

        // excel 文件的数据源
        System.Data.DataTable table = DBHelper.GetDataTable("SELECT * FROM StockInOrderItem");


        try
        {
      .]]></description><category></category></item><item><title><![CDATA[HTML5 + CSS3 的常用 button 样式]]></title><link>https://blog.csdn.net/cstester/article/details/119078805</link><guid>https://blog.csdn.net/cstester/article/details/119078805</guid><author>cstester</author><pubDate>Sun, 25 Jul 2021 10:55:17 +0800</pubDate><description><![CDATA[效果图：





不多比比，代码：


&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;Buttons&lt;/title&gt;
&lt;style&gt;
  /* =============================================================================
     HTML5 disp.]]></description><category></category></item><item><title><![CDATA[.NET A标签生成下载链接]]></title><link>https://blog.csdn.net/cstester/article/details/119063503</link><guid>https://blog.csdn.net/cstester/article/details/119063503</guid><author>cstester</author><pubDate>Sat, 24 Jul 2021 20:34:03 +0800</pubDate><description><![CDATA[1.A标签href：

download.aspx?file=Filename.rar

2.download.aspx内容：


using System.Threading;
using System.IO; 


public partial class download : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

     string filena...]]></description><category></category></item><item><title><![CDATA[asp.net重复登陆，强制下线]]></title><link>https://blog.csdn.net/cstester/article/details/85260551</link><guid>https://blog.csdn.net/cstester/article/details/85260551</guid><author>cstester</author><pubDate>Wed, 26 Dec 2018 13:23:57 +0800</pubDate><description><![CDATA[在登陆的时候，判断密码账号是否正确，正确的话分配一个Guid(全局标识符)给当前用户，并在全局变量中存储当前用户的Id和他的Guid。代码如下：


 //保存登陆成功的令牌
string Guid_str = &quot;&quot;;
 //分配一个唯一标识符
Guid_str = Guid.NewGuid().ToString();
Response.Cookies[&quot;GUID&quot;].Value = Guid_s...]]></description><category></category></item><item><title><![CDATA[css font-family常用字体中英文对照表]]></title><link>https://blog.csdn.net/cstester/article/details/78815794</link><guid>https://blog.csdn.net/cstester/article/details/78815794</guid><author>cstester</author><pubDate>Fri, 15 Dec 2017 18:29:15 +0800</pubDate><description><![CDATA[示范："microsoft
 yahei", "Times New Roman", "宋体", Times, serif








宋体
SimSun


黑体
SimHei


微软雅黑
Microsoft YaHei


微软正黑体
Microsoft JhengHei


新宋体
NSimSun


新细明体
PMingLi]]></description><category></category></item><item><title><![CDATA[秒表形式显示系统当前时间。]]></title><link>https://blog.csdn.net/cstester/article/details/7527858</link><guid>https://blog.csdn.net/cstester/article/details/7527858</guid><author>cstester</author><pubDate>Wed, 02 May 2012 14:05:31 +0800</pubDate><description><![CDATA[&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;me...]]></description><category></category></item><item><title><![CDATA[倒计时提交页面]]></title><link>https://blog.csdn.net/cstester/article/details/7414083</link><guid>https://blog.csdn.net/cstester/article/details/7414083</guid><author>cstester</author><pubDate>Sat, 31 Mar 2012 08:16:04 +0800</pubDate><description><![CDATA[倒计时测试


  $(document).ready(function(){
var num = 10; // 倒计时时间 
var min = 1
$("#sss").html(num); 
$("#mmm").html(min); // 初期值设置
function changeTime()
{
    if (min ==0 & num == 0)
    {]]></description><category></category></item><item><title><![CDATA[asp.net 文件下载时，出现非法路径解决方案]]></title><link>https://blog.csdn.net/cstester/article/details/7411103</link><guid>https://blog.csdn.net/cstester/article/details/7411103</guid><author>cstester</author><pubDate>Fri, 30 Mar 2012 13:55:22 +0800</pubDate><description><![CDATA[问题原因：asp.net 页面之间传递中文时，编码转换出错，所以会出现该情况。
 
思路：可以用Server.EncodeURl ，Server.DecodeURl的属性编码和解码
 
关键代码
 
在下载连接上将url进行编码：
 
public string EncodeURL(string s)
    {
        string path = Server.Url]]></description><category></category></item><item><title><![CDATA[C#项目获取当前时间的农历时间]]></title><link>https://blog.csdn.net/cstester/article/details/7407044</link><guid>https://blog.csdn.net/cstester/article/details/7407044</guid><author>cstester</author><pubDate>Thu, 29 Mar 2012 14:25:38 +0800</pubDate><description><![CDATA[using System.Globalization;
    class CnCanlendar_nongli
    {
        ///  
        /// 实例化一个  ChineseLunisolarCalendar     
        /// 
        private static ChineseLunisolarCalendar Chinese]]></description><category></category></item><item><title><![CDATA[网页元素控制]]></title><link>https://blog.csdn.net/cstester/article/details/7089846</link><guid>https://blog.csdn.net/cstester/article/details/7089846</guid><author>cstester</author><pubDate>Wed, 21 Dec 2011 00:42:52 +0800</pubDate><description><![CDATA[oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键，其实是禁止快捷菜单，因为不光右键可以弹出这个菜单，键盘上空格键右边的windows键也可以激活这个快捷菜单

 
no 可用于Table 

 禁止选取、防止复制 

onpaste="return false" 禁止粘贴 

oncopy="return false]]></description><category></category></item><item><title><![CDATA[js导航条(下拉菜单)]]></title><link>https://blog.csdn.net/cstester/article/details/7089802</link><guid>https://blog.csdn.net/cstester/article/details/7089802</guid><author>cstester</author><pubDate>Wed, 21 Dec 2011 00:03:19 +0800</pubDate><description><![CDATA[<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



css菜单演示

<!--
*{margin:0;padding:0;border:0;}
body {
 font-famil]]></description><category></category></item><item><title><![CDATA[Java中字符的全角半角转换]]></title><link>https://blog.csdn.net/cstester/article/details/6868373</link><guid>https://blog.csdn.net/cstester/article/details/6868373</guid><author>cstester</author><pubDate>Wed, 12 Oct 2011 23:48:18 +0800</pubDate><description><![CDATA[/**
  * 全角空格为12288，半角空格为32 其他字符半角(33-126)与全角(65281-65374)的对应关系是：均相差65248
  */
public static String ToSBC(String input) {
  // 半角转全角：]]></description><category></category></item><item><title><![CDATA[水晶球制作–关于质感表现与光影的细节]]></title><link>https://blog.csdn.net/cstester/article/details/6854421</link><guid>https://blog.csdn.net/cstester/article/details/6854421</guid><author>cstester</author><pubDate>Sun, 09 Oct 2011 09:16:54 +0800</pubDate><description><![CDATA[Apple让大家都目睹了Aqua风格的惊艳，自MacOSX后，遍地都是水晶效果。通过学习制作水晶效果，让大家对图形表现上的技法又有了新的提高。

 
网上有高人做出水晶球制作的标准教程，一时间风靡各大设计网站，说来也很简单，一个渐变的球型，然后一个椭圆形由白到透明的渐变，表]]></description><category></category></item><item><title><![CDATA[十个图标设计中的常见错误（翻译理论）]]></title><link>https://blog.csdn.net/cstester/article/details/6854412</link><guid>https://blog.csdn.net/cstester/article/details/6854412</guid><author>cstester</author><pubDate>Sun, 09 Oct 2011 09:15:28 +0800</pubDate><description><![CDATA[有时候，在一组图标中，各个图标看起来很相似，很难区分出哪个是哪个。如果你如果你错过了文字说明，你会发现很容易把这些图标弄混。


上面的图标来自Mac OS X的效率应用板块。我经常把它们搞混，以至于运行错误的程序。

如果在屏幕上显示小图标的话，分辨不出的问题更是严重]]></description><category></category></item><item><title><![CDATA[Web交互设计“灰色”的8类应用]]></title><link>https://blog.csdn.net/cstester/article/details/6854347</link><guid>https://blog.csdn.net/cstester/article/details/6854347</guid><author>cstester</author><pubDate>Sun, 09 Oct 2011 08:54:11 +0800</pubDate><description><![CDATA[在进行Web的交互设计中，颜色信息的传达也是不可或缺的一部分。我们常会发现许多“灰色”的应用，他们的出现总是不动声色而又恰如其分，维持了整个页面的平衡与统一。本文将从一些实际案例出发，阐述“灰色”在Web交互设计中的8类应用。

首先让Mr.Gray来做个简单的自我介绍吧：]]></description><category></category></item><item><title><![CDATA[实用environment获取系统文件夹]]></title><link>https://blog.csdn.net/cstester/article/details/6778924</link><guid>https://blog.csdn.net/cstester/article/details/6778924</guid><author>cstester</author><pubDate>Thu, 15 Sep 2011 16:58:36 +0800</pubDate><description><![CDATA[public class webform1 : system.web.ui.page
 {
  public string path;

 

  private void page_load(object sender, system.eventargs e)]]></description><category></category></item><item><title><![CDATA[jquery控制按钮在几秒内不可用]]></title><link>https://blog.csdn.net/cstester/article/details/6778914</link><guid>https://blog.csdn.net/cstester/article/details/6778914</guid><author>cstester</author><pubDate>Thu, 15 Sep 2011 16:57:12 +0800</pubDate><description><![CDATA[function updateTimeLabel(time) {
    var btn = $("#btnLogin");
    btn.fadeIn(1000);
    btn.val(time <= 0 ? "提交" : ("" + (time) + "秒后可提交]]></description><category></category></item><item><title><![CDATA[ASP.NET 网站预编译概述]]></title><link>https://blog.csdn.net/cstester/article/details/5946740</link><guid>https://blog.csdn.net/cstester/article/details/5946740</guid><author>cstester</author><pubDate>Sun, 17 Oct 2010 14:13:00 +0800</pubDate><description><![CDATA[Visual Studio 2005
默认情况下，在用户首次请求资源（如网站的一个页）时，将动态编译 ASP.NET 网页和代码文件。第一次编译页和代码文件之后，会缓存编译后的资源，这样将大大提高随后对同一页提出的请求的效率。

ASP.NET 还可以预编译整个站点，然后再提供给用户使用。这样做有很多好处，其中包括：

可以加快用户的响应时间，因为页和代码文件在第一次被请求时无需编译。这对于经常更新的大型站点尤其有用。 

可以在用户看到站点之前识别编译时 Bug。

可以创建站点的已编译]]></description><category></category></item><item><title><![CDATA[WEB免费打印控件推荐]]></title><link>https://blog.csdn.net/cstester/article/details/5946730</link><guid>https://blog.csdn.net/cstester/article/details/5946730</guid><author>cstester</author><pubDate>Sun, 17 Oct 2010 14:06:00 +0800</pubDate><description><![CDATA[<br />下班时候在博客园看到一篇web打印总结篇，感觉不粗，转帖给图标区的兄弟们<br />原文出处：http://www.cnblogs.com/panshenglu/archive/2009/09/21/1571258.html<br />原文作者：六六<br /><br />在WEB系统中，打印的确是个烦人的问题。<br />要么自己开发打印控件，如果项目时间紧，肯定来不及。<br />要么购买成熟的打印控件，如果是大项目可以考虑，但如果项目只有几K到1、2W之间，这就麻烦了。<br />前段时间]]></description><category></category></item></channel></rss>