<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[胡枫的资料中心]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/hackhu</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hackhu]]></copyright><item><title><![CDATA[文件下载方法]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2555868</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2555868</guid><author>hackhu</author><pubDate>Tue, 17 Jun 2008 09:46:00 +0800</pubDate><description><![CDATA[private void FileDownload(string FullFileName){    FileInfo DownloadFile = new FileInfo(FullFileName);     Response.Clear();    Response.ClearHeaders();    Response.Buffer=false;    Respon]]></description><category></category></item><item><title><![CDATA[文件下载方法]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2555864</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2555864</guid><author>hackhu</author><pubDate>Tue, 17 Jun 2008 09:46:00 +0800</pubDate><description><![CDATA[private void FileDownload(string FullFileName){    FileInfo DownloadFile = new FileInfo(FullFileName);     Response.Clear();    Response.ClearHeaders();    Response.Buffer=false;    Respon]]></description><category></category></item><item><title><![CDATA[javascript获取FCKeditor内容 ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2312769</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2312769</guid><author>hackhu</author><pubDate>Mon, 21 Apr 2008 17:31:00 +0800</pubDate><description><![CDATA[形式如：var oEditor = FCKeditorAPI.GetInstance(content);var content = oEditor.GetXHTML(true); 页面不需要引入FCKeditor如何脚本.  ]]></description><category></category></item><item><title><![CDATA[用ASP.net/C#画条形图，饼状图，曲线图的源代码]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2299976</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2299976</guid><author>hackhu</author><pubDate>Thu, 17 Apr 2008 10:59:00 +0800</pubDate><description><![CDATA[这是我在网上搜的代码，但是是用ASP.net/C#画条形图，饼状图，曲线图的源代码，很可惜我的是WinForm，希望对有些人有帮助：Chart.aspx.cs的代码：using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Web;using System.Web]]></description><category></category></item><item><title><![CDATA[JS和CS互访的问题]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2276550</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2276550</guid><author>hackhu</author><pubDate>Thu, 10 Apr 2008 11:35:00 +0800</pubDate><description><![CDATA[.如何在JavaScript访问C#函数? 2.如何在JavaScript访问C#变量? 3.如何在C#中访问JavaScript的已有变量? 4.如何在C#中访问JavaScript函数? 问题1答案如下： javaScript函数中执行C#代码中的函数： 方法一：1、首先建立一个按钮，在后台将调用或处理的内容写入button_click中; 2、在前台写一个js函数，内容为document]]></description><category></category></item><item><title><![CDATA[C#实现控件数组 ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2270806</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2270806</guid><author>hackhu</author><pubDate>Wed, 09 Apr 2008 18:00:00 +0800</pubDate><description><![CDATA[DotNet里取消了控件数组，这让习惯了使用VB控件的程序员非常不适应。有什么办法能够实现控件数组的功能吗?答案是肯定的。       众所周知，控件数组最主要的两个优点：可以循环附值；可以响应同一个事件。从而大大简化了代码。下面根据这两个方面，举一个例子。       新建一个工程，在窗体上添加5个textbox（textBox1...textBox5）和2个button (button]]></description><category></category></item><item><title><![CDATA[String.Format格式说明 ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2257756</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2257756</guid><author>hackhu</author><pubDate>Mon, 07 Apr 2008 17:59:00 +0800</pubDate><description><![CDATA[                                                                                                                                                                            ]]></description><category></category></item><item><title><![CDATA[设置或者得到CheckBoxList选中了的值 ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2246109</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2246109</guid><author>hackhu</author><pubDate>Thu, 03 Apr 2008 00:18:00 +0800</pubDate><description><![CDATA[#region 设置或者得到CheckBoxList选中了的值        /**////         /// 初始化CheckBoxList中哪些是选中了的         ///         /// CheckBoxList        /// 选中了的值串例如："0,1,1,2,1"        /// 值串中使用的分割符例如"0,1,1,2,1"中的逗号        pub]]></description><category></category></item><item><title><![CDATA[Asp.net(C#/2.0) 部分全选 CheckBoxList]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2246090</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2246090</guid><author>hackhu</author><pubDate>Thu, 03 Apr 2008 00:02:00 +0800</pubDate><description><![CDATA[Test.Aspx [Javascript代码]            //放在head中        function CheckAll(C,CL)  {        var CHK = document.getElementById(C); //全选按钮        var CHKList = document.getElementById(CL); //目标对象        if]]></description><category></category></item><item><title><![CDATA[c# checklistbox的用法]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2246083</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2246083</guid><author>hackhu</author><pubDate>Wed, 02 Apr 2008 23:54:00 +0800</pubDate><description><![CDATA[1、添加项：checkedListBox1.Items.Add("蓝色");checkedListBox1.Items.Add("红色");checkedListBox1.Items.Add("黄色");2、判断第0项是否选中if (checkedListBox1.GetItemChecked(0))3、设置第0项是否选中checkedListBox1.SetItemCheck]]></description><category></category></item><item><title><![CDATA[CheckBoxList 的数据绑定及数据获取]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2235360</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2235360</guid><author>hackhu</author><pubDate>Tue, 01 Apr 2008 11:45:00 +0800</pubDate><description><![CDATA[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.]]></description><category></category></item><item><title><![CDATA[重提：上传图片生成略缩图“最佳解决”]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2226071</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2226071</guid><author>hackhu</author><pubDate>Fri, 28 Mar 2008 15:30:00 +0800</pubDate><description><![CDATA[当你安装了sqlserver 2005之后你就可以使用sqlserver management来管理你的数据库实例了，你也可以用它来管理sqlserver2000的数据库实例，如果是sqlserver2000打了sp4补丁的实例会显示版本号8.0.2039sqlsever2005的数据库实例未打补丁的显示版本号9.0.1399sqlsever2005的数据库实例打了补丁sp1的显示版本号9.0.3]]></description><category></category></item><item><title><![CDATA[Ajax无刷新实现图片切换特效 ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2180908</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2180908</guid><author>hackhu</author><pubDate>Fri, 14 Mar 2008 09:47:00 +0800</pubDate><description><![CDATA[一、AjaxMethodusing System;using System.Data;using System.Data.SqlClient;namespace AjaxImage{    /**////     /// AjaxMethod 的摘要说明。    ///     public class AjaxMethod    {        public AjaxMethod()   ]]></description><category></category></item><item><title><![CDATA[分割字符串的方法（获取某个字符后的字符串）]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2177850</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2177850</guid><author>hackhu</author><pubDate>Thu, 13 Mar 2008 17:14:00 +0800</pubDate><description><![CDATA[JS的方法     script>     str="a1,a2,a3;b1,b2,b3;a1,c2,c3;a1,d2,d3;"     mystr=str.split(";");     firststr=mystr[0].split(",")[0];     for(i=1;imystr.length;i++)     if(firststr==mystr[i].split(",")[]]></description><category></category></item><item><title><![CDATA[petshop4.0设计说明]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2124842</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2124842</guid><author>hackhu</author><pubDate>Wed, 27 Feb 2008 15:58:00 +0800</pubDate><description><![CDATA[petshop4.0设计说明 一、项目名称及描述：(实现步骤为：4-3-6-5-2-1)  1、WEB＝表示层 2、BLL＝业务逻辑层  3、IDAL＝数据访问层接口定义  4、Model＝业务实体 5、DALFactory＝数据层的抽象工厂(创建反射) 6、SQLServerDAL＝SQLServer数据访问层 / OracleDAL＝Oracle数据访问层 ]]></description><category></category></item><item><title><![CDATA[Response.AppendCookie用法]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2124831</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2124831</guid><author>hackhu</author><pubDate>Wed, 27 Feb 2008 15:56:00 +0800</pubDate><description><![CDATA[protected void Button2_Click(object sender, EventArgs e)    {        HttpCookie cookie=new HttpCookie("MyCook");//初使化并设置Cookie的名称        DateTime dt=DateTime.Now;        TimeSpan ts = new TimeSpan(0, ]]></description><category></category></item><item><title><![CDATA[Ajax中，ModalPopup与UpdatePanel结合，实现局部刷新的登录效果 (调用cs服务) ]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2119368</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2119368</guid><author>hackhu</author><pubDate>Mon, 25 Feb 2008 16:18:00 +0800</pubDate><description><![CDATA[最近研究Ajax，突然想起有些网站有局部刷新的登陆效果，而Ajax提供了ModalPopup，刚好有类似效果。 因为登陆要调用后台cs页面中的部分功能，所以，结合UpdatePanel实现了这一功能。不知道谁还有更好的实现方式，欢迎共享。 我的源码：SupLogin.rarAspx页面主要代码： 1     the update controls --> 2    asp:UpdatePa]]></description><category></category></item><item><title><![CDATA[Response.Redirect 打开新窗口的两种方法]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2118533</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2118533</guid><author>hackhu</author><pubDate>Mon, 25 Feb 2008 10:27:00 +0800</pubDate><description><![CDATA[一般情况下，Response.Redirect 方法是在服务器端进行转向，因此，除非使用 Response.Write("window.location=http://dotnet.aspx.cc;") 方法外，是不能在新窗口打开所指定的 URL 地址的。但是，如果仔细分析一下，如果设置 form 元素的 target 属性，还是有办法打开新窗口的。下面就是可以采用的两种方法。 方法一：在服务器]]></description><category></category></item><item><title><![CDATA[从记录集倒数第四个开始取数据]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2117111</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2117111</guid><author>hackhu</author><pubDate>Sun, 24 Feb 2008 18:56:00 +0800</pubDate><description><![CDATA[从数据表里列出数据，要从倒数的第四个开始列出来。 例如： 数据表数据为（数据有很多，只列出了部分）： ID     NAME 1       256555 2       552211 3       55566 4       546633 5       52333 7       DDSSS 9       33333 10     33335 11     354566 100   662]]></description><category></category></item><item><title><![CDATA[Visual Studio 2005 SP1 的安装问题(解决方案)]]></title><link>https://blog.youkuaiyun.com/hackhu/article/details/2106311</link><guid>https://blog.youkuaiyun.com/hackhu/article/details/2106311</guid><author>hackhu</author><pubDate>Tue, 19 Feb 2008 13:46:00 +0800</pubDate><description><![CDATA[装成功了，但是花费我好长的时间呀！我的本本安装不了，提示硬盘空间不够，我本本C盘都1G多空间，竟然说空间不足！幸好台式安装了成功！郁闷，MS的SP也太大了吧！动不动就几百兆的！该安装包安装过程极其漫长，我的闪龙2200+ 512M内存安装了近2个半小时，比VS2005安装时间还长，而且安装时CPU占用不低于90％，请安排空闲时间安装，因为在安装时你根本没法做其他事情，C盘未使用空间至少在3G以上，]]></description><category></category></item></channel></rss>