<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[曾俊的博客]]></title><description><![CDATA[Where there is a will , there is a way .有志者,事竟成... ]]></description><link>https://blog.youkuaiyun.com/zengjun24</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; zengjun24]]></copyright><item><title><![CDATA[WPF 实现异步调用]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/49303329</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/49303329</guid><author>zengjun24</author><pubDate>Wed, 21 Oct 2015 13:46:49 +0800</pubDate><description><![CDATA[在WPF中，实现异步调用的代码如下：
 System.Windows.Threading.Dispatcher.Invoke( new  Action(()=> 
 {
      CallMethodName();  //要异步调用的方法或异步执行的语句
 }), System.Windows.Threading.DispatcherPriority.Background);]]></description><category></category></item><item><title><![CDATA[frameset 获取框架对像javascript实现]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/3559596</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/3559596</guid><author>zengjun24</author><pubDate>Fri, 19 Dec 2008 16:45:00 +0800</pubDate><description><![CDATA[window.parent.frames["框架名"]window.parent.frames.item(索引号)]]></description><category></category></item><item><title><![CDATA[线程间操作无效:从不是创建控件 "xxxx" 的线程访问它。]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/3048722</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/3048722</guid><author>zengjun24</author><pubDate>Fri, 10 Oct 2008 11:12:00 +0800</pubDate><description><![CDATA[错误症状如下图：        解决方按：将如下语句加入到窗体构造方法中即可。Control.CheckForIllegalCrossThreadCalls = false;   ]]></description><category></category></item><item><title><![CDATA[Winform的Combox添加value]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/2875912</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/2875912</guid><author>zengjun24</author><pubDate>Wed, 03 Sep 2008 22:06:00 +0800</pubDate><description><![CDATA[在做Wiform的时候发现Combox没有value选项于是在网上找了一些资料，成功加上了Value。 首先添加一个ComboxItem类：using System;using System.Collections.Generic;using System.Text;namespace Test{    public class ComboBoxItem]]></description><category></category></item><item><title><![CDATA[通过WinAPI打开文件夹浏览源码]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/2869160</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/2869160</guid><author>zengjun24</author><pubDate>Tue, 02 Sep 2008 21:18:00 +0800</pubDate><description><![CDATA[通过调用WinApi打开Windows浏览文件夹.    调用方法：         DirectorySelect dir = new DirectorySelect();         string filePath = dir.GetDirectory();源码：using System;using System.Collections.Generic;us]]></description><category></category></item><item><title><![CDATA[实现分页的存储过程]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/2228646</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/2228646</guid><author>zengjun24</author><pubDate>Sat, 29 Mar 2008 16:14:00 +0800</pubDate><description><![CDATA[     我们在做程序开发的时候有时候会经常要用到GridView、DataList等控件，当然GridView它本身就带有分页的功能，可是DataList的分页就没有提供，我们就不得不用代码OR存储过程来实现，然而当显示的数据量非常大的时候也有必要用到存储过程对其进行分页显示，下面是实现分页的一种方法：     以Products表进行示例：CREATE  PROCEDURE [Pr]]></description><category></category></item><item><title><![CDATA[正则表达式基础知识]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/2113369</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/2113369</guid><author>zengjun24</author><pubDate>Fri, 22 Feb 2008 14:41:00 +0800</pubDate><description><![CDATA[正则表达式基础知识                                                                                                  出自：梦幻Dot Net   的 正则表达式基础知识         一个正则表达式就是由普通字符（例如字符 a 到 z）以及特殊字符（称为元字符）组成的文字模式。该模式描述在查找文字主]]></description><category></category></item><item><title><![CDATA[转载 在Web页面上直接打开、编辑、创建office文档]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/2106661</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/2106661</guid><author>zengjun24</author><pubDate>Tue, 19 Feb 2008 14:55:00 +0800</pubDate><description><![CDATA[如何在Web页面上直接打开、编辑、创建Office文档 有朋友询问如何在Web页面上做到像SharePoint中的效果一样，能直接激活客户端的Word来打开.doc文件，而不是类似直接点击.doc文档链接时Word在IE中被打开那样。想想这个问题应该很多人都会感兴趣，所以干脆写一篇blog来大致描述一下方法。在安装Office2003以后，有一个ActiveX控件被安装到了系统中，这个控件]]></description><category></category></item><item><title><![CDATA[C#动态成生并打开网页]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/1816277</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/1816277</guid><author>zengjun24</author><pubDate>Tue, 09 Oct 2007 09:37:00 +0800</pubDate><description><![CDATA[      下面是通过C#调用模板页（test.html），动态的生成静态的HTML网页的源码。页面加载时调用方法清除不在最近某一时间断生成的网页。using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Secur]]></description><category></category></item><item><title><![CDATA[TreeView存储过程动态绑定树控件]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/1804004</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/1804004</guid><author>zengjun24</author><pubDate>Thu, 27 Sep 2007 22:36:00 +0800</pubDate><description><![CDATA[这是从同事那里得来的代码，当然他也是从网上看来的。呵呵！整理了一下，这个方法绑定速度远远高于上一种（递归绑定）绑定树控件的方法。下面是CS中的代码：using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Sec]]></description><category></category></item><item><title><![CDATA[TreeView递归法绑定树控件]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/1803779</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/1803779</guid><author>zengjun24</author><pubDate>Thu, 27 Sep 2007 20:10:00 +0800</pubDate><description><![CDATA[下面是用递归法绑定到树控件的Demo: 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.WebContr]]></description><category></category></item><item><title><![CDATA[Javascript实现日期的连动选择]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/1803006</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/1803006</guid><author>zengjun24</author><pubDate>Thu, 27 Sep 2007 13:34:00 +0800</pubDate><description><![CDATA[今天无意间闯进一网站看到了几个最常用的日历控件，很有头趣的尝试了一下下面的代码。觉得挺简单的贴出来给大学分享下：html>body>form>select id=year onchange=toDate()>script>for(i=1970;i2010;i++)document.write(""+i+"")script>select>select id=month onchange=to]]></description><category></category></item><item><title><![CDATA[GridView行选择事件,单击GridView中某一行任意位置提出这条记录]]></title><link>https://blog.youkuaiyun.com/zengjun24/article/details/1802542</link><guid>https://blog.youkuaiyun.com/zengjun24/article/details/1802542</guid><author>zengjun24</author><pubDate>Thu, 27 Sep 2007 09:41: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></channel></rss>