<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" media="screen"?>
<rss version="2.0">
  <channel>
    <title>我的亿家 - c#</title>
    <link>http://www.22vs.com/showforum-36.aspx</link>
    <description>Latest 20 threads</description>
    <copyright>Copyright (c) 我的亿家</copyright>
    <generator>Discuz!NT</generator>
    <pubDate>Sun, 01 Aug 2010 00:34:09 GMT</pubDate>
    <ttl>60</ttl>
    <item>
      <title>C# 2.0中的上传多个图片合并及存入数据库的示例</title>
      <description><![CDATA[项目上要求把图片存入数据库，有时候图片是分开的但是要在上传时合并（上下合并，新传的图片放后面，特殊需要呵呵）。Google了半天网上有图片存入数据库的示例，便是合并的就基本没用，有也是少量其它操作方式的代码片段。结合网上思路，研究出图片合并的比较完整的代码如下：
　　代码类型：C# 2.0
　　说明：此文本站原创，转载请注明出处
　　　　　上传文件使用的是VS2005自带的上传控件
　　　]]></description>
      <link>http://www.22vs.com/showtopic-747.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sun, 14 Dec 2008 23:01:00 GMT</pubDate>
    </item>
    <item>
      <title>C#判断一个string是否可以为数字的几种解决方案</title>
      <description><![CDATA[方案一：Try...Catch(执行效率不高)view plaincopy to clipboardprint?
/// &amp;lt;summary&amp;gt;   
/// 名称：IsNumberic   
/// 功能：判断输入的是否是数字   
/// 参数：string oText：源文本   
/// 返回值：　bool true:是　false:否   
/// &amp;lt;/summ]]></description>
      <link>http://www.22vs.com/showtopic-746.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sun, 14 Dec 2008 22:59:00 GMT</pubDate>
    </item>
    <item>
      <title>C#可逆加密算法收集</title>
      <description><![CDATA[最近要用到这个顺带收集下  
以下是关于对称加密算法的C#实现代码，大家可以根据需要更改不同的算法，文中以Rijndael算法为例：view plaincopy to clipboardprint?
using System;   
using System.IO;   
using ......]]></description>
      <link>http://www.22vs.com/showtopic-745.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sun, 14 Dec 2008 22:57:00 GMT</pubDate>
    </item>
    <item>
      <title>检测客户端显示器分辨率、浏览器类型和客户端IP</title>
      <description><![CDATA[ClientPeek.aspx
&amp;lt;%@ Page language=&amp;quot;vb&amp;quot; EnableViewState=&amp;quot;false&amp;quot; Codebehind=&amp;quot;ClientPeek.aspx.vb&amp;quot;
AutoEventWireup=&amp;quot;false&amp;quot; Inherits=&amp;quot;aspxWeb.ClientPeek&amp;qu]]></description>
      <link>http://www.22vs.com/showtopic-736.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Fri, 31 Oct 2008 08:55:00 GMT</pubDate>
    </item>
    <item>
      <title>自己写的链接数据库的类</title>
      <description><![CDATA[public partial class sqlHelper
{ 

public static readonly string CONN_STRING = ConfigurationSettings.AppSettings;


public static SqlDataReader RetrieveRowsWithDataReader(string strsql)

{
  ......]]></description>
      <link>http://www.22vs.com/showtopic-735.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Fri, 31 Oct 2008 08:53:00 GMT</pubDate>
    </item>
    <item>
      <title>平时在做ASP.NET项目里经常使用的一些函数和方法</title>
      <description><![CDATA[Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.HtmlControls
Imports System.Web.UI.WebControls
Namespace Webs
    Public Class WebUtils
        Private Shared m_sScriptPath As Str]]></description>
      <link>http://www.22vs.com/showtopic-734.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Fri, 31 Oct 2008 08:52:00 GMT</pubDate>
    </item>
    <item>
      <title>C#实现更改IP功能源码</title>
      <description><![CDATA[using System;using System.Management;
public class ChangeIP{


    private ManagementBaseObject iObj = null;    private ManagementBaseObject oObj = null;    private ManagementClass mc = new Manage......]]></description>
      <link>http://www.22vs.com/showtopic-733.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Fri, 31 Oct 2008 08:47:00 GMT</pubDate>
    </item>
    <item>
      <title>利用asp.net 2.0的客户端回调功能制作下拉框无限级联动</title>
      <description><![CDATA[记得以前做asp的时候，常会碰到下拉框多级联动，比如说在注册的时候，需要选择省和城市，这就需要二级联动，那个时候一个普遍的做法就是利用javascript脚本来实现，先把数据从数据库中读取出来，放到javascript的数组中，在下拉框的onchange事件触发时，就可以直接从javascript的数组中读取想要的数据。后来在asp.net 1.0中开发时，这种方法也通用，但如果要多级的话，有一个]]></description>
      <link>http://www.22vs.com/showtopic-724.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sun, 05 Oct 2008 10:53:00 GMT</pubDate>
    </item>
    <item>
      <title>C#编码规范</title>
      <description><![CDATA[
VS2005控件命名规范
Standard Control


类 型前 缀示 例AdrotatoradrtadrtTopAdBulletedListblstblstCityButtonbtnbtnSubmitCalendarcalcalMettingDatesCheckBoxchkchkBlueCheckBoxListchklchklFavColorsDrop......]]></description>
      <link>http://www.22vs.com/showtopic-722.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Thu, 18 Sep 2008 10:41:00 GMT</pubDate>
    </item>
    <item>
      <title>c#数据库操作的3种典型用法</title>
      <description><![CDATA[using System.Data;
using System.Data.SqlClient;

namespace DatabaseOperate
{
    class SqlOperateInfo
    {
        //Suppose your ServerName is &amp;quot;aa&amp;quot;,DatabaseName is &amp;quot;bb&amp;quot;,Us......]]></description>
      <link>http://www.22vs.com/showtopic-719.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 30 Aug 2008 11:08:00 GMT</pubDate>
    </item>
    <item>
      <title>C#写入/读出文本文件</title>
      <description><![CDATA[DataGridTextBoxColumn(); 
　　dgcs.MappingName = &amp;quot;title_id&amp;quot;; 
　　dgcs.HeaderText = &amp;quot;标题ID&amp;quot;; 
　　dgts.GridColumnStyles.Add(dgcs); 
　　。。。
　　dataGrid1.TableStyles.Add(dgts); 
　　2.检索某]]></description>
      <link>http://www.22vs.com/showtopic-718.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 30 Aug 2008 10:44:00 GMT</pubDate>
    </item>
    <item>
      <title>C#编程实用技巧：轻松实现对文件的操作</title>
      <description><![CDATA[　//C#写入/读出文本文件 
　　string fileName =@&amp;quot;c:I.txt&amp;quot;; 
　　StreamReader sr = new StreamReader(fileName); string str=sr.ReadLine (); sr.close();
　　StreamWriterrw=File.CreateText(Server.MapPath(&amp;quo]]></description>
      <link>http://www.22vs.com/showtopic-717.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 30 Aug 2008 10:42:00 GMT</pubDate>
    </item>
    <item>
      <title>c#里的运算符重载</title>
      <description><![CDATA[　c#里的运算符重载是个不常出现的应用，同时也是个好玩的东西。　　我们可以使用他来实现这样的需求：
　　当一个订单与另外一个订单相加形成一个新的订单。新订单的货物为两个订单的货物的并集，总价为两个订单的总价和。
　　下面实现看看


　　先做个辅助的货物类
　　public class Merchandise
　　{
　　public int Count { get； set； }]]></description>
      <link>http://www.22vs.com/showtopic-670.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:45:00 GMT</pubDate>
    </item>
    <item>
      <title>C#实现遗传算法 模拟花朵的进化</title>
      <description><![CDATA[以下代码实现了一个简单的花朵进化的模拟过程。
  花朵的种群数量是10，共进化了50代。  通过运行程序，你会发现通过不断的进化，种群的总的适应环境的能力在逐步提高（fitness的值下降）。
  实现代码：


  using System;
  using System.Collections.Generic;
  using System.Text;
  namespace ]]></description>
      <link>http://www.22vs.com/showtopic-669.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:42:00 GMT</pubDate>
    </item>
    <item>
      <title>如何用.NET技术在线生成网站LOGO</title>
      <description><![CDATA[　　也许大家一看标题就知道，又是老生常谈了，在线生成LOGO其实就是在线生成图片，原理听起来很简单：
　　1. new一个bitmap或类似之物；
　　2. 用一个graphic在上边画出你想要的东西；
　　3. 保存，显示出来，大功告成。


　　今天要说的是生成中的一些细节问题。没有真正做过，你可能永远也不知道有这样的问题。下边提到的问题和代码，希望对各位有所帮助。
　　本文的示]]></description>
      <link>http://www.22vs.com/showtopic-668.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:41:00 GMT</pubDate>
    </item>
    <item>
      <title>3、在子进程的事件中暂停5秒不会导致主窗口无响应</title>
      <description><![CDATA[使用QTP自动化对象模型提供的对象、方法和属性，可以编写脚本来设置QTP、运行测试，而不需要在QTP的界面上手工进行。　　下面是一个简单的C#调用QuickTest自动化对象模型的例子：
　　using System；
　　using System.Collections.Generic；


　　using System.ComponentModel；
　　using System.]]></description>
      <link>http://www.22vs.com/showtopic-667.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:40:00 GMT</pubDate>
    </item>
    <item>
      <title>实验分析C#中三种计时器使用异同点</title>
      <description><![CDATA[　C#中提供了三种类型的计时器：　　1、基于 Windows 的标准计时器（System.Windows.Forms.Timer）
　　2、基于服务器的计时器（System.Timers.Timer）
　　3、线程计时器（System.Threading.Timer）
　　下面我就通过一些小实验来具体分析三种计时器使用上面的异同点，特别是和线程有关的部分。
　　实验例子截图：
http:]]></description>
      <link>http://www.22vs.com/showtopic-666.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:40:00 GMT</pubDate>
    </item>
    <item>
      <title>Windows Shell 开发：从“桌面”开始展开</title>
      <description><![CDATA[SHGetDesktopFolder 
获取桌面的 IShellFolder 接口

http://www.pcdog.com/ArtImage/20080123/ik39_1.gif 


http://www.pcdog.com/ArtImage/20080123/ik39_1.gif         public static extern Int32 SHGetDesktopF]]></description>
      <link>http://www.22vs.com/showtopic-665.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:39:00 GMT</pubDate>
    </item>
    <item>
      <title>Windows Shell编程系列 - 获取图标</title>
      <description><![CDATA[有关 PIDL 

PIDL亦有“绝对路径”与“相对路径”的概念。 

表示“相对路径”的PIDL（本文简称为“相对PIDL”）只有一个ITEMIDLIST结构的元素，用于标识相对于父文件夹的“路径”；表示“绝对路径”的PIDL（简称为“绝对PIDL”）有若干个ITEMIDLIST结构的元素，第一个元素表示外壳名字空间根文件夹（“桌面”）下的某一子文件夹A，第二个元素则表示文件夹A下的某一]]></description>
      <link>http://www.22vs.com/showtopic-664.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:38:00 GMT</pubDate>
    </item>
    <item>
      <title>Windows Shell开发：浏览一个文件夹</title>
      <description><![CDATA[Windows Shell 编程，即 Windows 外壳编程。我们所看到的资源管理器以及整个桌面，都是一个 Shell。

关于 Windows 外壳的基本概念，我这里不做详细介绍，不了解的朋友，可以看看 姜伟华 的 Windows外壳名字空间的浏览。



好，现在让我们从基础学起，早日做出一个强大的资源管理器软件。（偶也是初学者，多多指教）

1 - 基础，浏览一个文件夹
]]></description>
      <link>http://www.22vs.com/showtopic-663.aspx</link>
      <category>c#</category>
      <author>mynet</author>
      <pubDate>Sat, 02 Aug 2008 09:38:00 GMT</pubDate>
    </item>
  </channel>
</rss>