<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>zenmai software</title>
	<atom:link href="http://zenmai.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenmai.wordpress.com</link>
	<description>じゃあ、何かつくりますよ。</description>
	<lastBuildDate>Fri, 24 Jun 2011 14:57:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zenmai.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>zenmai software</title>
		<link>http://zenmai.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zenmai.wordpress.com/osd.xml" title="zenmai software" />
	<atom:link rel='hub' href='http://zenmai.wordpress.com/?pushpress=hub'/>
		<item>
		<title>asp:FileUploadを使用せずにファイルをアップロードする[IE,C#]</title>
		<link>http://zenmai.wordpress.com/2011/06/24/aspfileupload%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%9b%e3%81%9a%e3%81%ab%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%99%e3%82%8biec/</link>
		<comments>http://zenmai.wordpress.com/2011/06/24/aspfileupload%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%9b%e3%81%9a%e3%81%ab%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%99%e3%82%8biec/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 14:57:09 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=301</guid>
		<description><![CDATA[asp:FileUploadを使わずにファイルをダウンロード・アップロードするには、System.Net.WebClientを使います。 アップロード先のaspでは、Requestの内容をファイルに書き込む処理を書く必要ありです。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=301&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>asp:FileUploadを使わずにファイルをダウンロード・アップロードするには、System.Net.WebClientを使います。</p>
<p><pre class="brush: csharp;">
    System.Net.WebClient webc = new System.Net.WebClient();
    webc.DownloadFile(downloadFileUrl, localFilePath);
    webc.UploadFile(uploadFileUrl, localFilePath);
</pre></p>
<p>アップロード先のaspでは、Requestの内容をファイルに書き込む処理を書く必要ありです。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/301/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=301&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/24/aspfileupload%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%9b%e3%81%9a%e3%81%ab%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%99%e3%82%8biec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>要素のスタイルを文字列で取得する[IE,Javascript]</title>
		<link>http://zenmai.wordpress.com/2011/06/24/%e8%a6%81%e7%b4%a0%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%96%e5%be%97%e3%81%99%e3%82%8biejavascript/</link>
		<comments>http://zenmai.wordpress.com/2011/06/24/%e8%a6%81%e7%b4%a0%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%96%e5%be%97%e3%81%99%e3%82%8biejavascript/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 14:46:39 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=299</guid>
		<description><![CDATA[IE8の場合、要素のスタイルは、その要素のcurrentStyleとstyle.cssTextを足したものになる。 currentStyleがCSSを解決したもので、style.cssTextはタグに直接指定されたスタイルの文字列になる。 タグで直接指定したスタイルはcurrentStyleには入らないところがなんとも。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=299&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>IE8の場合、要素のスタイルは、その要素のcurrentStyleとstyle.cssTextを足したものになる。<br />
currentStyleがCSSを解決したもので、style.cssTextはタグに直接指定されたスタイルの文字列になる。<br />
タグで直接指定したスタイルはcurrentStyleには入らないところがなんとも。</p>
<p><pre class="brush: jscript;">
function getStyleString()
{
    var cssText = &quot;&quot;;
    for( var item in element.currentStyle)
    {
        var itemcv = item.replace(/[A-Z]/g,function(whole,p1){return (&quot;-&quot; + item.charAt(p1).toLowerCase())});
        cssText += itemcv + &quot;:&quot; + element.currentStyle.getAttribute(item) + &quot;;&quot;;
    }
    cssText += element.style.cssText;
    
    return cssText;
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=299&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/24/%e8%a6%81%e7%b4%a0%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%96%e5%be%97%e3%81%99%e3%82%8biejavascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NETのページにHiddenFieldを動的に作成する[ASP.NET,C#]</title>
		<link>http://zenmai.wordpress.com/2011/06/24/asp-net%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%abhiddenfield%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8basp-netc/</link>
		<comments>http://zenmai.wordpress.com/2011/06/24/asp-net%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%abhiddenfield%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8basp-netc/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 14:36:13 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=297</guid>
		<description><![CDATA[ASP.NETのページにHiddenFieldを動的に作るには、HiddenFieldオブジェクトを作成してフォームのコントロールのコレクションにAddすればいい。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=297&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ASP.NETのページにHiddenFieldを動的に作るには、HiddenFieldオブジェクトを作成してフォームのコントロールのコレクションにAddすればいい。</p>
<p><pre class="brush: csharp;">
    HiddenField dynamicHiddenField = new HiddenField();
    dynamicHiddenField.ID = &quot;idString&quot;;
    dynamicHiddenField.Value = &quot;test value&quot;;
    form.Controls.Add(dynamicHiddenField);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=297&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/24/asp-net%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%abhiddenfield%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8basp-netc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>Excelの参照を追加せずにExcelを使う[C#]</title>
		<link>http://zenmai.wordpress.com/2011/06/24/excel%e3%81%ae%e5%8f%82%e7%85%a7%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%9b%e3%81%9a%e3%81%abexcel%e3%82%92%e4%bd%bf%e3%81%86c/</link>
		<comments>http://zenmai.wordpress.com/2011/06/24/excel%e3%81%ae%e5%8f%82%e7%85%a7%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%9b%e3%81%9a%e3%81%abexcel%e3%82%92%e4%bd%bf%e3%81%86c/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 14:29:40 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=293</guid>
		<description><![CDATA[C#でExcelを扱う場合、参照にCOMオブジェクトを追加すれば使うことができるが、開発環境のExcelのバージョンに依存してしまうため、環境が異なる場合は動作しなくなる。 この問題は、Type.GetTypeFromProgID()でクラスタイプを解決し、Activator.CreateInstance()でインスタンスを作る、という方法で解決できる。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=293&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>C#でExcelを扱う場合、参照にCOMオブジェクトを追加すれば使うことができるが、開発環境のExcelのバージョンに依存してしまうため、環境が異なる場合は動作しなくなる。<br />
この問題は、Type.GetTypeFromProgID()でクラスタイプを解決し、Activator.CreateInstance()でインスタンスを作る、という方法で解決できる。</p>
<p><pre class="brush: csharp;">
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace temp
{
    // Excel Wrapper Class
    public class ExcelWrapper : IDisposable
    {
        const int PARAM_NUM_1 = 1;   // パラメータ数(1)
        const int PARAM_NUM_2 = 2;   // パラメータ数(2)
        const int PARAM_NUM_3 = 3;   // パラメータ数(3)
        const int PARAM_NUM_4 = 4;   // パラメータ数(4)
        const int PARAM_NUM_5 = 5;   // パラメータ数(5)
        const int PARAM_NUM_6 = 6;   // パラメータ数(6)
        const int PARAM_NUM_7 = 7;   // パラメータ数(7)
        const int PARAM_NUM_8 = 8;   // パラメータ数(8)
        const int PARAM_NUM_9 = 9;   // パラメータ数(9)
        const int PARAM_NUM_10 = 10; // パラメータ数(10)
        const int PARAM_NUM_11 = 11; // パラメータ数(11)
        const int PARAM_NUM_12 = 12; // パラメータ数(12)
        const int PARAM_NUM_13 = 13; // パラメータ数(13)
        const int PARAM_NUM_14 = 14; // パラメータ数(14)
        const int PARAM_NUM_15 = 15; // パラメータ数(15)
        const int PARAM_NUM_16 = 16; // パラメータ数(16)
        const int PARAM_NUM_17 = 17; // パラメータ数(17)
        const int PARAM_NUM_18 = 18; // パラメータ数(18)
        const int PARAM_NUM_19 = 19; // パラメータ数(19)
        const int PARAM_NUM_20 = 20; // パラメータ数(20)
        const int PARAM_NUM_21 = 21; // パラメータ数(21)
        const int PARAM_NUM_22 = 22; // パラメータ数(22)
        const int PARAM_NUM_23 = 23; // パラメータ数(23)
        const int PARAM_NUM_24 = 24; // パラメータ数(24)
        const int PARAM_NUM_25 = 25; // パラメータ数(25)
        const int PARAM_NUM_26 = 26; // パラメータ数(26)
        const int PARAM_NUM_27 = 27; // パラメータ数(27)
        const int PARAM_NUM_28 = 28; // パラメータ数(28)
        const int PARAM_NUM_29 = 29; // パラメータ数(29)
        const int PARAM_NUM_30 = 30; // パラメータ数(30)
        const int PARAM_NUM_31 = 31; // パラメータ数(31)
        const int PARAM_NUM_32 = 32; // パラメータ数(32)
        const int PARAM_NUM_33 = 33; // パラメータ数(33)
        const int PARAM_NUM_34 = 34; // パラメータ数(34)
        const int PARAM_NUM_35 = 35; // パラメータ数(35)
        const int PARAM_NUM_36 = 36; // パラメータ数(36)

        // Excelアプリケーションオブジェクト
        private object xlsApplication = null;
        // Workbooksオブジェクト
        private object xlsBooks = null;

        // Excelアプリケーションオブジェクト
        protected object XlsApplication
        {
            get
            {
                // 存在しない場合は作成する
                if (xlsApplication == null)
                {
                    Type classType = Type.GetTypeFromProgID(&quot;Excel.Application&quot;);
                    xlsApplication = Activator.CreateInstance(classType);
                }
                return xlsApplication;
            }
        }
        // バージョン
        public string Version
        {
            get
            {
                object versionObj = XlsApplication.GetType().InvokeMember(&quot;Version&quot;, BindingFlags.GetProperty, null, XlsApplication, null);
                return versionObj.ToString();
            }
        }
        // 保存時の確認メッセージ有効
        public bool DisplayAlerts
        {
            set
            {
                object[] parameters = new object[PARAM_NUM_1];
                parameters[0] = value;
                XlsApplication.GetType().InvokeMember(&quot;DisplayAlerts&quot;, BindingFlags.SetProperty, null, XlsApplication, parameters);
            }
        }
        // アプリケーション可視
        public bool Visible
        {
            set
            {
                object[] parameters = new object[PARAM_NUM_1];
                parameters[0] = value;
                XlsApplication.GetType().InvokeMember(&quot;Visible&quot;, BindingFlags.SetProperty, null, XlsApplication, parameters);
            }
        }
        // Workbooksオブジェクト
        protected object Workbooks
        {
            get
            {
                if (xlsBooks == null)
                {
                    xlsBooks = XlsApplication.GetType().InvokeMember(&quot;Workbooks&quot;, BindingFlags.GetProperty, null, XlsApplication, null);
                }
                return xlsBooks;
            }
        }
        // 破棄
        public void Dispose()
        {
            ReleaseComObject(xlsBooks);
            xlsBooks = null;
            ReleaseComObject(xlsApplication);
            xlsApplication = null;
        }
        // COMオブジェクトのリリース
        private static void ReleaseComObject(object target)
        {
            try
            {
                if ((target != null))
                {
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(target);
                }
            }
            finally
            {
                target = null;
            }
        }
        // Bookを取得
        private object GetBook(int index)
        {
            object[] parameters = new object[PARAM_NUM_1];
            parameters[0] = index;
            return Workbooks.GetType().InvokeMember(&quot;Item&quot;, BindingFlags.GetProperty, null, Workbooks, parameters);
        }
        // Sheetsを取得
        private object GetSheets(object book)
        {
            return book.GetType().InvokeMember(&quot;Worksheets&quot;, BindingFlags.GetProperty, null, book, null);
        }
        // Sheetを取得
        private object GetSheet(object sheets, string sheetName)
        {
            object[] parameters = new object[PARAM_NUM_1];
            parameters[0] = sheetName;
            return sheets.GetType().InvokeMember(&quot;Item&quot;, BindingFlags.GetProperty, null, sheets, parameters);
        }
        // Rangeを取得
        private object GetRange(object sheet, string range)
        {
            object[] parameters = new Object[PARAM_NUM_2];
            parameters[0] = range;
            parameters[1] = Type.Missing;
            return sheet.GetType().InvokeMember(&quot;Range&quot;, BindingFlags.GetProperty, null, sheet, parameters);
        }
        // Cellsを取得
        private object GetCells(object sheet)
        {
            return sheet.GetType().InvokeMember(&quot;Cells&quot;, BindingFlags.GetProperty, null, sheet, null);
        }
        // Cellを取得
        private object GetCell(object cells, int row, int column)
        {
            object[] parameters = new Object[PARAM_NUM_2];
            parameters[0] = row;
            parameters[1] = column;
            return cells.GetType().InvokeMember(&quot;Item&quot;, BindingFlags.GetProperty, null, cells, parameters);
        }

        private object GetCellText(object cell)
        {
            return cell.GetType().InvokeMember(&quot;Text&quot;, BindingFlags.GetProperty, null, cell, null);
        }
        // Cellのテキストを取得
        private void SetCellText(object cell, string value)
        {
            object[] parameters = new Object[PARAM_NUM_1];
            parameters[0] = value;
            cell.GetType().InvokeMember(&quot;Value&quot;, BindingFlags.SetProperty, null, cell, parameters);
        }
        // Excelファイルを開く
        public void Open(string xlsFilePath)
        {
            object[] parameters = new object[PARAM_NUM_15];
            parameters[0] = xlsFilePath;
            parameters[1] = Type.Missing;
            parameters[2] = Type.Missing;
            parameters[3] = Type.Missing;
            parameters[4] = Type.Missing;
            parameters[5] = Type.Missing;
            parameters[6] = Type.Missing;
            parameters[7] = Type.Missing;
            parameters[8] = Type.Missing;
            parameters[9] = Type.Missing;
            parameters[10] = Type.Missing;
            parameters[11] = Type.Missing;
            parameters[12] = Type.Missing;
            parameters[13] = Type.Missing;
            parameters[14] = Type.Missing;
            Workbooks.GetType().InvokeMember(&quot;Open&quot;, BindingFlags.InvokeMethod, null, Workbooks, parameters);
        }
        // マクロを起動
        public void Run(string bookName, string methodName)
        {
            object[] parameters = new object[PARAM_NUM_31];
            parameters[0] = &quot;'&quot; + bookName + &quot;'!&quot; + methodName;
            parameters[1] = Type.Missing;
            parameters[2] = Type.Missing;
            parameters[3] = Type.Missing;
            parameters[4] = Type.Missing;
            parameters[5] = Type.Missing;
            parameters[6] = Type.Missing;
            parameters[7] = Type.Missing;
            parameters[8] = Type.Missing;
            parameters[9] = Type.Missing;
            parameters[10] = Type.Missing;
            parameters[11] = Type.Missing;
            parameters[12] = Type.Missing;
            parameters[13] = Type.Missing;
            parameters[14] = Type.Missing;
            parameters[15] = Type.Missing;
            parameters[16] = Type.Missing;
            parameters[17] = Type.Missing;
            parameters[18] = Type.Missing;
            parameters[19] = Type.Missing;
            parameters[20] = Type.Missing;
            parameters[21] = Type.Missing;
            parameters[22] = Type.Missing;
            parameters[23] = Type.Missing;
            parameters[24] = Type.Missing;
            parameters[25] = Type.Missing;
            parameters[26] = Type.Missing;
            parameters[27] = Type.Missing;
            parameters[28] = Type.Missing;
            parameters[29] = Type.Missing;
            parameters[30] = Type.Missing;
            XlsApplication.GetType().InvokeMember(&quot;Run&quot;, BindingFlags.InvokeMethod, null, XlsApplication, parameters);
        }
        // マクロを起動
        public void Run(string bookName, string methodName, string param1, string param2)
        {
            object[] parameters = new object[PARAM_NUM_31];
            parameters[0] = &quot;'&quot; + bookName + &quot;'!&quot; + methodName;
            parameters[1] = param1;
            parameters[2] = param2;
            parameters[3] = Type.Missing;
            parameters[4] = Type.Missing;
            parameters[5] = Type.Missing;
            parameters[6] = Type.Missing;
            parameters[7] = Type.Missing;
            parameters[8] = Type.Missing;
            parameters[9] = Type.Missing;
            parameters[10] = Type.Missing;
            parameters[11] = Type.Missing;
            parameters[12] = Type.Missing;
            parameters[13] = Type.Missing;
            parameters[14] = Type.Missing;
            parameters[15] = Type.Missing;
            parameters[16] = Type.Missing;
            parameters[17] = Type.Missing;
            parameters[18] = Type.Missing;
            parameters[19] = Type.Missing;
            parameters[20] = Type.Missing;
            parameters[21] = Type.Missing;
            parameters[22] = Type.Missing;
            parameters[23] = Type.Missing;
            parameters[24] = Type.Missing;
            parameters[25] = Type.Missing;
            parameters[26] = Type.Missing;
            parameters[27] = Type.Missing;
            parameters[28] = Type.Missing;
            parameters[29] = Type.Missing;
            parameters[30] = Type.Missing;
            XlsApplication.GetType().InvokeMember(&quot;Run&quot;, BindingFlags.InvokeMethod, null, XlsApplication, parameters);
        }
        // Excel終了
        public void Quit()
        {
            XlsApplication.GetType().InvokeMember(&quot;Quit&quot;, BindingFlags.InvokeMethod, null, XlsApplication, null);
        }
        // 保存
        public void Save(int bookIndex)
        {
            object book = null;

            try
            {
                // WorkbooksオブジェクトからBookオブジェクトを取得
                book = GetBook(bookIndex);

                // ブックを保存
                book.GetType().InvokeMember(&quot;Save&quot;, BindingFlags.InvokeMethod, null, book, null);
            }
            finally
            {
                ReleaseComObject(book);
            }
        }
        // Cellの値を文字列で取得
        public string GetCellValue(int bookIndex, string sheetName, int row, int column)
        {
            object book = null;
            object sheets = null;
            object sheet = null;
            object cells = null;
            object cell = null;

            try
            {
                // WorkbooksオブジェクトからBookオブジェクトを取得
                book = GetBook(bookIndex);

                // BookオブジェクトからSheetsオブジェクトを取得
                sheets = GetSheets(book);

                // SheetsオブジェクトからSheetオブジェクトを取得
                sheet = GetSheet(sheets, sheetName);

                // SheetオブジェクトからCellsオブジェクトを取得
                cells = GetCells(sheet);

                // CellsオブジェクトからCellオブジェクトを取得
                cell = GetCell(cells, row, column);

                // CellオブジェクトからTextを取得
                object text = GetCellText(cell);

                return text.ToString();
            }
            finally
            {
                ReleaseComObject(cell);
                ReleaseComObject(cells);
                ReleaseComObject(sheet);
                ReleaseComObject(sheets);
                ReleaseComObject(book);
            }
        }
        // Cellに値を設定
        public void SetCellValue(int bookIndex, string sheetName, int row, int column, string value)
        {
            object book = null;
            object sheets = null;
            object sheet = null;
            object cells = null;
            object cell = null;

            try
            {
                // WorkbooksオブジェクトからBookオブジェクトを取得
                book = GetBook(bookIndex);

                // BookオブジェクトからSheetsオブジェクトを取得
                sheets = GetSheets(book);

                // SheetsオブジェクトからSheetオブジェクトを取得
                sheet = GetSheet(sheets, sheetName);

                // SheetオブジェクトからCellsオブジェクトを取得
                cells = GetCells(sheet);

                // CellsオブジェクトからCellオブジェクトを取得
                cell = GetCell(cells, row, column);

                // Cellオブジェクトに値を設定
                SetCellText(cell, value);
            }
            finally
            {
                ReleaseComObject(cell);
                ReleaseComObject(cells);
                ReleaseComObject(sheet);
                ReleaseComObject(sheets);
                ReleaseComObject(book);
            }
        }
        // 最終行のIndexを取得
        public int GetLastRowIndex(int bookIndex, string sheetName)
        {
            object book = null;
            object sheets = null;
            object sheet = null;
            object cells = null;
            object specialCells = null;

            try
            {
                // WorkbooksオブジェクトからBookオブジェクトを取得
                book = GetBook(bookIndex);

                // BookオブジェクトからSheetsオブジェクトを取得
                sheets = GetSheets(book);

                // SheetsオブジェクトからSheetオブジェクトを取得
                sheet = GetSheet(sheets, sheetName);

                // SheetオブジェクトからCellsオブジェクトを取得
                cells = GetCells(sheet);

                // Cellsオブジェクトから最終行Indexを取得
                object[] parameters = new object[PARAM_NUM_2];
                parameters[0] = 11; //xlCellTypeLastCell
                parameters[1] = Type.Missing;
                specialCells = cells.GetType().InvokeMember(&quot;SpecialCells&quot;, BindingFlags.InvokeMethod, null, cells, parameters);
                return (int)specialCells.GetType().InvokeMember(&quot;Row&quot;, BindingFlags.GetProperty, null, specialCells, null);
            }
            finally
            {
                ReleaseComObject(specialCells);
                ReleaseComObject(cells);
                ReleaseComObject(sheet);
                ReleaseComObject(sheets);
                ReleaseComObject(book);
            }
        }
        // 最終列のIndexを取得
        public int GetLastColumnIndex(int bookIndex, string sheetName)
        {
            object book = null;
            object sheets = null;
            object sheet = null;
            object cells = null;
            object specialCells = null;

            try
            {
                // WorkbooksオブジェクトからBookオブジェクトを取得
                book = GetBook(bookIndex);

                // BookオブジェクトからSheetsオブジェクトを取得
                sheets = GetSheets(book);

                // SheetsオブジェクトからSheetオブジェクトを取得
                sheet = GetSheet(sheets, sheetName);

                // SheetオブジェクトからCellsオブジェクトを取得
                cells = GetCells(sheet);

                // Cellsオブジェクトから最終行Indexを取得
                object[] parameters = new object[PARAM_NUM_2];
                parameters[0] = 11; //xlCellTypeLastCell
                parameters[1] = Type.Missing;
                specialCells = cells.GetType().InvokeMember(&quot;SpecialCells&quot;, BindingFlags.InvokeMethod, null, cells, parameters);
                return (int)specialCells.GetType().InvokeMember(&quot;Column&quot;, BindingFlags.GetProperty, null, specialCells, null);
            }
            finally
            {
                ReleaseComObject(specialCells);
                ReleaseComObject(cells);
                ReleaseComObject(sheet);
                ReleaseComObject(sheets);
                ReleaseComObject(book);
            }
        }
    }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=293&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/24/excel%e3%81%ae%e5%8f%82%e7%85%a7%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%9b%e3%81%9a%e3%81%abexcel%e3%82%92%e4%bd%bf%e3%81%86c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>DataGridViewで単一選択のチェックボックスを作る[C#]</title>
		<link>http://zenmai.wordpress.com/2011/06/24/datagridview%e3%81%a7%e5%8d%98%e4%b8%80%e9%81%b8%e6%8a%9e%e3%81%ae%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%92%e4%bd%9c%e3%82%8bc/</link>
		<comments>http://zenmai.wordpress.com/2011/06/24/datagridview%e3%81%a7%e5%8d%98%e4%b8%80%e9%81%b8%e6%8a%9e%e3%81%ae%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%92%e4%bd%9c%e3%82%8bc/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 13:58:15 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=287</guid>
		<description><![CDATA[DataGridViewにチェックボックスを配置することは、けっこう簡単にできますが、ラジオボタンを配置することは難しいです。できるんですか？ そこで、チェックボックスを単一選択にしてラジオボタンのかわりにしてしまおうと。 チェックボックスの配置は簡単にできますが、これを単一選択にするようなメソッドもプロパティもありません。 そこで、チェックボックスのイベントを捕まえてなんとかしようとするわけですが、ちょっとコツがあります。 チェックされたチェックボックスにReadOnlyを設定するのです。チェックされていないチェックボックスはReadOnlyを解除しておきます。 これで余計なイベントの発生が防げます。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=287&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DataGridViewにチェックボックスを配置することは、けっこう簡単にできますが、ラジオボタンを配置することは難しいです。できるんですか？<br />
そこで、チェックボックスを単一選択にしてラジオボタンのかわりにしてしまおうと。</p>
<p>チェックボックスの配置は簡単にできますが、これを単一選択にするようなメソッドもプロパティもありません。<br />
そこで、チェックボックスのイベントを捕まえてなんとかしようとするわけですが、ちょっとコツがあります。<br />
チェックされたチェックボックスにReadOnlyを設定するのです。チェックされていないチェックボックスはReadOnlyを解除しておきます。<br />
これで余計なイベントの発生が防げます。</p>
<p><pre class="brush: csharp;">
// チェックボックスのCellValueChangedイベント
private void dataGridView_CellValueChanged(object sender, DataGridViewCellEventArgs e)
{
    // 選択列の場合
    if (e.ColumnIndex == 0)
    {
        // 今回チェック設定した
        if ((bool)dataGridView[e.ColumnIndex, e.RowIndex].Value == true)
        {
            // 他にチェックされている項目がある場合はそのチェックを解除
            for (int rowIndex = 0; rowIndex &amp;lt; dataGridView.Rows.Count; rowIndex++)
            {
                if ((rowIndex != e.RowIndex) &amp;amp;&amp;amp; ((bool)dataGridView[0, rowIndex].Value == true))
                {
                    // チェックを解除
                    dataGridView[0, rowIndex].Value = false;
                    // ReadOnlyを解除
                    dataGridView[0, rowIndex].ReadOnly = false;
                }
            }
            // 今回チェックした場所をReadOnlyに設定
            dataGridView[e.ColumnIndex, e.RowIndex].ReadOnly = true;
        }
    }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=287&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/24/datagridview%e3%81%a7%e5%8d%98%e4%b8%80%e9%81%b8%e6%8a%9e%e3%81%ae%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%92%e4%bd%9c%e3%82%8bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>テーブルを空読みする[SQL]</title>
		<link>http://zenmai.wordpress.com/2011/06/22/%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%82%92%e7%a9%ba%e8%aa%ad%e3%81%bf%e3%81%99%e3%82%8bsql/</link>
		<comments>http://zenmai.wordpress.com/2011/06/22/%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%82%92%e7%a9%ba%e8%aa%ad%e3%81%bf%e3%81%99%e3%82%8bsql/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 12:55:15 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=289</guid>
		<description><![CDATA[フィールド名のコレクションが欲しいだけとか、Insertするための空のテーブルが欲しいとき、 SELECT * FROM TABLENAME WHERE 0=1 とすると、余計な検索を行わずに空のテーブルが取得できます。 &#8220;WHERE 0=1&#8243;が大事なところですよ。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=289&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>フィールド名のコレクションが欲しいだけとか、Insertするための空のテーブルが欲しいとき、</p>
<p><code>SELECT * FROM TABLENAME WHERE 0=1</code></p>
<p>とすると、余計な検索を行わずに空のテーブルが取得できます。<br />
&#8220;WHERE 0=1&#8243;が大事なところですよ。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=289&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2011/06/22/%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%82%92%e7%a9%ba%e8%aa%ad%e3%81%bf%e3%81%99%e3%82%8bsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>列がIDENTITYかどうか調べる[SQL Server]</title>
		<link>http://zenmai.wordpress.com/2010/12/04/%e5%88%97%e3%81%8cidentity%e3%81%8b%e3%81%a9%e3%81%86%e3%81%8b%e8%aa%bf%e3%81%b9%e3%82%8bsql-server/</link>
		<comments>http://zenmai.wordpress.com/2010/12/04/%e5%88%97%e3%81%8cidentity%e3%81%8b%e3%81%a9%e3%81%86%e3%81%8b%e8%aa%bf%e3%81%b9%e3%82%8bsql-server/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 08:56:41 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=284</guid>
		<description><![CDATA[列のIDENTITYの状態は、クエリの結果からDataColumn#AutoIncrementで取得できそうですが、できません。 システムDBのsys.columnsから取得できます。 SELECT name,column_id,is_identity from sys.columns where object_Id = OBJECT_ID('[TableName]','U') order by column_id [TableName]の部分は任意のテーブル名に置き換えてください。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=284&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>列のIDENTITYの状態は、クエリの結果からDataColumn#AutoIncrementで取得できそうですが、できません。</p>
<p>システムDBのsys.columnsから取得できます。<br />
<code><br />
SELECT name,column_id,is_identity from sys.columns where object_Id = OBJECT_ID('[TableName]','U') order by column_id<br />
</code><br />
[TableName]の部分は任意のテーブル名に置き換えてください。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=284&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2010/12/04/%e5%88%97%e3%81%8cidentity%e3%81%8b%e3%81%a9%e3%81%86%e3%81%8b%e8%aa%bf%e3%81%b9%e3%82%8bsql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>WebService経由で取得したオブジェクトをXMLにシリアライズ。Postback先でデシリアライズできない[ASP.NET,C#]</title>
		<link>http://zenmai.wordpress.com/2010/10/19/webservice%e7%b5%8c%e7%94%b1%e3%81%a7%e5%8f%96%e5%be%97%e3%81%97%e3%81%9f%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%92xml%e3%81%ab%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%a9%e3%82%a4/</link>
		<comments>http://zenmai.wordpress.com/2010/10/19/webservice%e7%b5%8c%e7%94%b1%e3%81%a7%e5%8f%96%e5%be%97%e3%81%97%e3%81%9f%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%92xml%e3%81%ab%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%a9%e3%82%a4/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 10:22:37 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=255</guid>
		<description><![CDATA[クライアント側でWebService経由で取得したオブジェクトをXMLにシリアライズして、サーバにPostbackしてデシリアライズすると、エラーにはならないが、内容が復元できていないことがある。 これは、クライアント側はWebServiceのWeb参照に変換されたクラスでシリアライズされ、これにWebServiceのnamespaceが付与されるためである。このため、サーバ側でデシリアライズに使用するクラスに同じnamespaceが設定されていないと、内容がまったく復元されない。 これを解決するために、サーバ側で使用するクラスにWebServiceと同じnamespaceを付与する。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=255&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>クライアント側でWebService経由で取得したオブジェクトをXMLにシリアライズして、サーバにPostbackしてデシリアライズすると、エラーにはならないが、内容が復元できていないことがある。<br />
これは、クライアント側はWebServiceのWeb参照に変換されたクラスでシリアライズされ、これにWebServiceのnamespaceが付与されるためである。このため、サーバ側でデシリアライズに使用するクラスに同じnamespaceが設定されていないと、内容がまったく復元されない。<br />
これを解決するために、サーバ側で使用するクラスにWebServiceと同じnamespaceを付与する。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=255&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2010/10/19/webservice%e7%b5%8c%e7%94%b1%e3%81%a7%e5%8f%96%e5%be%97%e3%81%97%e3%81%9f%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%92xml%e3%81%ab%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%a9%e3%82%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>DataGridViewで入力できるコンボボックスを1セルだけ作る[C#]</title>
		<link>http://zenmai.wordpress.com/2010/10/19/datagridview%e3%81%a7%e5%85%a5%e5%8a%9b%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%b3%e3%83%b3%e3%83%9c%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%921%e3%82%bb%e3%83%ab%e3%81%a0%e3%81%91%e4%bd%9c%e3%82%8bc/</link>
		<comments>http://zenmai.wordpress.com/2010/10/19/datagridview%e3%81%a7%e5%85%a5%e5%8a%9b%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%b3%e3%83%b3%e3%83%9c%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%921%e3%82%bb%e3%83%ab%e3%81%a0%e3%81%91%e4%bd%9c%e3%82%8bc/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 10:20:25 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=277</guid>
		<description><![CDATA[DataGridViewに入力できるコンボボックスを1セルだけ作成する。 入力されたアイテムがコンボボックス内のリストになければ、コンボボックス内のリストの先頭に追加する。 これを実現するために、DataGridViewのEditingControlShowingイベントとCellValidatingイベントでいろいろする必要がある。 EditingControlShowingイベントは、編集用のコンボボックスが作成され表示される直前にコールされる。 DataGridViewの場合はDataGridViewComboBoxEditingControlが作成されるが、このコントロールのDropDownStyleをComboBoxStyle.DropDownに変更する。これでコンボボックスへの入力は可能となるが、入力した内容がリストに追加されない。 リストへの追加はCellValidatingイベントで行う。 CellValidatingイベントはセルがフォーカスを失う時にコールされる。 このとき、入力された文字列がコンボボックス内のリストにない場合は、リストに追加する必要がある。 さらに、最終セルの場合(例えば3&#215;3のリストで右下のセル)は入力後のEnterキーでCellValidatingイベントが発生しない。これはカレントのセルが遷移しないため。これを解決するためにEnterキーのイベントでカレントセルを一度クリアし、再度設定してCellValidatingイベントを発生させる。 以下、サンプルソース。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=277&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DataGridViewに入力できるコンボボックスを1セルだけ作成する。<br />
入力されたアイテムがコンボボックス内のリストになければ、コンボボックス内のリストの先頭に追加する。</p>
<p>これを実現するために、DataGridViewのEditingControlShowingイベントとCellValidatingイベントでいろいろする必要がある。</p>
<p>EditingControlShowingイベントは、編集用のコンボボックスが作成され表示される直前にコールされる。<br />
DataGridViewの場合はDataGridViewComboBoxEditingControlが作成されるが、このコントロールのDropDownStyleをComboBoxStyle.DropDownに変更する。これでコンボボックスへの入力は可能となるが、入力した内容がリストに追加されない。<br />
リストへの追加はCellValidatingイベントで行う。</p>
<p>CellValidatingイベントはセルがフォーカスを失う時にコールされる。<br />
このとき、入力された文字列がコンボボックス内のリストにない場合は、リストに追加する必要がある。</p>
<p>さらに、最終セルの場合(例えば3&#215;3のリストで右下のセル)は入力後のEnterキーでCellValidatingイベントが発生しない。これはカレントのセルが遷移しないため。これを解決するためにEnterキーのイベントでカレントセルを一度クリアし、再度設定してCellValidatingイベントを発生させる。</p>
<p>以下、サンプルソース。</p>
<p><pre class="brush: csharp;">
// フォームのロードでDataGridViewを初期化
private void Form1_Load(object sender, EventArgs e)
{
    // 列を追加
    dataGridView1.Columns.Add(&quot;aaaa&quot;, &quot;aaaa&quot;);
    dataGridView1.Columns.Add(&quot;bbbb&quot;, &quot;bbbb&quot;);
    dataGridView1.Columns.Add(&quot;cccc&quot;, &quot;cccc&quot;);

    // 行を追加
    dataGridView1.Rows.Add();
    dataGridView1.Rows.Add();
    dataGridView1.Rows.Add();

    // DataGridView全体を編集可能にする
    dataGridView1.ReadOnly = false;
    // 3x3の一番右下のセルを入力できるコンボボックスにする。
    dataGridView1[2, 2] = new DataGridViewComboBoxCell();
    dataGridView1[2, 2].ReadOnly = false; // 編集可能に設定

    // コンボボックスにアイテムを追加する
    ((DataGridViewComboBoxCell)dataGridView1[2, 2]).Items.Add(&quot;あああ&quot;);
    ((DataGridViewComboBoxCell)dataGridView1[2, 2]).Items.Add(&quot;いいい&quot;);
    ((DataGridViewComboBoxCell)dataGridView1[2, 2]).Items.Add(&quot;ううう&quot;);
    ((DataGridViewComboBoxCell)dataGridView1[2, 2]).Items.Add(&quot;えええ&quot;);
    ((DataGridViewComboBoxCell)dataGridView1[2, 2]).Items.Add(&quot;おおお&quot;);
}

// DataGridViewのEditingControlShowingイベントを処理する
private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
    DataGridView dgv = (DataGridView)sender;

    // コントロールがDataGridViewComboBoxEditingControlの場合
    if (e.Control is DataGridViewComboBoxEditingControl)
    {
        // 該当位置のセルの場合
        if ((dgv.CurrentCell.RowIndex == 2) &amp;&amp; (dgv.CurrentCell.ColumnIndex == 2))
        {
            // DropDownStyleをドロップダウンに変更
            ((DataGridViewComboBoxEditingControl)e.Control).DropDownStyle = ComboBoxStyle.DropDown;
            // Enrerキーイベントを捕まえるためのイベントを登録
            ((DataGridViewComboBoxEditingControl)e.Control).PreviewKeyDown += new PreviewKeyDownEventHandler(Form1_PreviewKeyDown);
        }
    }
}

// DataGridViewComboBoxEditingControlのキーイベントを処理する
void Form1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
    // Enterキーの場合
    if (e.KeyCode == Keys.Enter)
    {
        // カレントセルをバックアップ
        DataGridViewCell curCell = ((DataGridViewComboBoxEditingControl)sender).EditingControlDataGridView.CurrentCell;
        // カレントセルをクリア
        ((DataGridViewComboBoxEditingControl)sender).EditingControlDataGridView.CurrentCell = null;
        // カレントセルを再設定(これでCellValidatingイベントが発行される)
        ((DataGridViewComboBoxEditingControl)sender).EditingControlDataGridView.CurrentCell = curCell;
    }
}

// CellValidatingイベントを処理する
private void dataGridView1_CellValidating(object sender, DataGridViewCellValidatingEventArgs e)
{
    DataGridView dgv = (DataGridView)sender;

    // 該当位置のセルの場合
    if ((dgv.CurrentCell.RowIndex == 2) &amp;&amp; (dgv.CurrentCell.ColumnIndex == 2))
    {
        // コンボボックス内のリストを更新
        UpdateCmbList(dgv.CurrentCell.ColumnIndex, dgv.CurrentCell.RowIndex, e.FormattedValue, ref this.dataGridView1);
    }
}

// コンボボックス内のリストを更新する
private void UpdateCmbList(int colIndex, int rowIndex, object value, ref DataGridView dgv)
{
    bool delete = false;
    bool add = false;

    // 値を文字列に変換
    string formattedValue = string.Empty;
    if (value != null)
    {
        formattedValue = value.ToString();
    }
    // リストの項目数が選択項目より多い場合は先頭の項目を削除
    if (((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Items.Count &gt; 5)
    {
        // 先頭の項目が今回入力した文字列でない場合は削除を予約
        // ここで削除すると、セルのValueをまだ変更していないので例外が発生する。
        // セルのValueを変更後にリストから削除する。
        if (((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Items[0].ToString() != formattedValue)
        {
            delete = true;
        }
    }
    // 値がリストに存在するか確認
    if (((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Items.Contains(formattedValue) != true)
    {
        // 存在しない場合は先頭に追加
        ((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Items.Insert(0, formattedValue);
        add = true;
    }
    // 一度コミットする(リストへの追加を有効にするため)
    dgv.CommitEdit(DataGridViewDataErrorContexts.Commit);
    // セルのValueを更新
    ((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Value = formattedValue;
    // リストから削除
    if (delete == true)
    {
        int index = 0;
        if (add == true)
        {
            index = 1;
        }
        ((DataGridViewComboBoxCell)dgv.Rows[rowIndex].Cells[colIndex]).Items.RemoveAt(index);
    }
    // もう一度コミットする
    dgv.CommitEdit(DataGridViewDataErrorContexts.Commit);
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=277&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2010/10/19/datagridview%e3%81%a7%e5%85%a5%e5%8a%9b%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%b3%e3%83%b3%e3%83%9c%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%921%e3%82%bb%e3%83%ab%e3%81%a0%e3%81%91%e4%bd%9c%e3%82%8bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NETでHiddenFieldの値が取得できない[ASP.NET]</title>
		<link>http://zenmai.wordpress.com/2010/09/22/asp-net%e3%81%a7hiddenfield%e3%81%ae%e5%80%a4%e3%81%8c%e5%8f%96%e5%be%97%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/</link>
		<comments>http://zenmai.wordpress.com/2010/09/22/asp-net%e3%81%a7hiddenfield%e3%81%ae%e5%80%a4%e3%81%8c%e5%8f%96%e5%be%97%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 12:52:44 +0000</pubDate>
		<dc:creator>isn3</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zenmai.wordpress.com/?p=239</guid>
		<description><![CDATA[ASP.NETでHiddenFieldに格納したはずの値がPostbackで取得できなくて3時間くらいはまりました。 JavascriptでHiddenFieldに値を格納する場合は、&#8221;value&#8221;の先頭文字は小文字です。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=239&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ASP.NETでHiddenFieldに格納したはずの値がPostbackで取得できなくて3時間くらいはまりました。<br />
JavascriptでHiddenFieldに値を格納する場合は、&#8221;value&#8221;の先頭文字は小文字です。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zenmai.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zenmai.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zenmai.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zenmai.wordpress.com&amp;blog=9776902&amp;post=239&amp;subd=zenmai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zenmai.wordpress.com/2010/09/22/asp-net%e3%81%a7hiddenfield%e3%81%ae%e5%80%a4%e3%81%8c%e5%8f%96%e5%be%97%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e78629db061a4e6448724c110dd5e041?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">isn3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
