<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>??????</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/" />
   <link rel="self" type="application/atom+xml" href="http://www.sanryu.net/mt/atom.xml" />
   <id>tag:www.sanryu.net,2010:/mt//1</id>
   <updated>2010-05-28T01:44:09Z</updated>
   
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.35</generator>

<entry>
   <title>ODP.NET の　Ado.dion</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/05/odpnet_adodion.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.148</id>
   
   <published>2010-05-28T01:29:40Z</published>
   <updated>2010-05-28T01:44:09Z</updated>
   
   <summary><![CDATA[Ado.dion &lt;?xml version="1.0" encoding...]]></summary>
   <author>
      <name></name>
      
   </author>
         <category term="S2Dao.net" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      <![CDATA[<strong>Ado.dion</strong>

<pre>
&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;!DOCTYPE components PUBLIC "-//SEASAR2.1//DTD S2Container//EN"
"http://www.seasar.org/dtd/components21.dtd"&gt;

&lt;components namespace="Ado"&gt;
  &lt;!-- Oracle Data Provider .NETを使用する場合に必要です。--&gt;
  &lt;component name="ODP" class="Seasar.Extension.ADO.DataProvider"&gt;
    &lt;property name="ConnectionType"&gt;
      "Oracle.DataAccess.Client.OracleConnection"
    &lt;/property&gt;
    &lt;property name="CommandType"&gt;
      "Oracle.DataAccess.Client.OracleCommand"
    &lt;/property&gt;
    &lt;property name="ParameterType"&gt;
      "Oracle.DataAccess.Client.OracleParameter"
    &lt;/property&gt;
    &lt;property name="DataAdapterType"&gt;
      "Oracle.DataAccess.Client.OracleDataAdapter"
    &lt;/property&gt;
  &lt;/component&gt;

  &lt;!-- トランザクション用のDataSource --&gt;
  &lt;component name="DataSource" class="Seasar.Extension.Tx.Impl.TxDataSource"&gt;
    &lt;property name="DataProvider"&gt;ODP&lt;/property&gt;
    &lt;property name="ConnectionString"&gt;
      "Data Source=Oracle;User Id=HR;Password=HR;"
    &lt;/property&gt;
  &lt;/component&gt;

  &lt;!-- ローカルトランザクション用のインターセプターで使用します --&gt;
  &lt;component name="TransactionContext"
      class="Seasar.Extension.Tx.Impl.TransactionContext"&gt;
    &lt;property name="IsolationLevel"&gt;
      System.Data.IsolationLevel.ReadCommitted
    &lt;/property&gt;
  &lt;/component&gt;
&lt;/components&gt;
&lt;/pre&gt;
</pre>
はたまた，App.configにアセンブリの登録が必要です。
<pre>
&lt;pre&gt;
  &lt;seasar&gt;
    &lt;!-- SingletonS2ContainerFactory#Initで下記で指定されたdiconファイルを
           ルートのdiconファイルの初期値としてセットします。 --&gt;

    &lt;configPath&gt;S2DaoSample/App.dicon&lt;/configPath&gt;
    
    &lt;!-- S2コンテナ作成時に以下で指定されたアセンブリをAppDomainに
           読み込みます。（S2ContainerFactory#Create） --&gt;
    &lt;assemblys&gt;
      &lt;assembly&gt;Seasar.Dao&lt;/assembly&gt;
      &lt;assembly&gt;Oracle.DataAccess, version=2.111.6.20, Culture=neutral, PublicKeyToken=89B483F429C47342&lt;/assembly&gt;
    &lt;/assemblys&gt;

  &lt;/seasar&gt;
</pre>]]>
      
   </content>
</entry>
<entry>
   <title>SelectからDataTableを取得する。</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/05/selectdatatable.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.147</id>
   
   <published>2010-05-28T00:45:52Z</published>
   <updated>2010-05-28T01:45:08Z</updated>
   
   <summary>VB.NETで開発していますが， 当然，SELECTの結果は，コントロールにすぐ...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="S2Dao.net" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      <![CDATA[VB.NETで開発していますが，
当然，SELECTの結果は，コントロールにすぐにバインドできる
戻り値が欲しいです。

戻り値がListだと変換する場合，面倒です。

ネットで調べましたがなかなか見つからず。

色々試したら，
「resultSetHandler」に
「Seasar.Extension.DataSets.Impl.DataTableDataReaderHandler」
を指定してでできました。

「resultSetHandler」はSQLの問合せ結果の取得方法を指定できる見たいです。

diconの記述例
<pre>
  &lt;component class="S2DaoSample.IJbosDao"&gt;
    &lt;aspect&gt;S2Dao.Interceptor&lt;/aspect&gt;
    &lt;property name="resultSetHandler"&gt;
      &lt;component class="Seasar.Extension.DataSets.Impl.DataTableDataReaderHandler"&gt;
        &lt;!-- tableName --&gt;
        &lt;arg&gt;"Jobs"&lt;/arg&gt;
      &lt;/component&gt;
    &lt;/property&gt;
  &lt;/component&gt;
</pre>

※ホントにこれでいいでしょうか？
　
　Seasar.Extension.DataSets.Impl.DataTableDataReaderHandlerのソースコードは見て，
　DataReaderのGetSchemaTableでスキーマ情報を取得して，
　DataTableを作成しているのは確認しました。

]]>
      
   </content>
</entry>
<entry>
   <title>今度の開発</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/05/post_75.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.146</id>
   
   <published>2010-05-28T00:43:08Z</published>
   <updated>2010-05-28T00:45:34Z</updated>
   
   <summary>今度の開発で，S2Dao.net を使用することにしました。 S2Dao.net...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="S2Dao.net" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      <![CDATA[今度の開発で，S2Dao.net を使用することにしました。

S2Dao.netは，S2Dao.NETはマッピング情報をXMLに記述しないO/Rマッピングフレームワークです。

<a href="http://s2dao.net.seasar.org/ja/index.html">S2Dao.NET</a>
]]>
      
   </content>
</entry>
<entry>
   <title>スマートクライアント</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/04/post_74.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.145</id>
   
   <published>2010-04-12T04:15:05Z</published>
   <updated>2010-04-12T04:19:09Z</updated>
   
   <summary>今度，開発するシステムを当初WEBで （ASP.NET MVC） で作成しようと...</summary>
   <author>
      <name></name>
      
   </author>
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      今度，開発するシステムを当初WEBで
（ASP.NET MVC） で作成しようと考えてた。

しかし，複雑な画面が多いので，
結局，C/S型で作成する事になった。

そこで，スマートクライアントを採用するできるか調査中。

      
   </content>
</entry>
<entry>
   <title>ぼうやの寝言</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/04/post_73.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.144</id>
   
   <published>2010-04-12T03:38:40Z</published>
   <updated>2010-04-12T03:40:55Z</updated>
   
   <summary>うえの坊やが， 寝言で「ラフレシアは臭いんだよ。」 といっていました。 その通り...</summary>
   <author>
      <name></name>
      
   </author>
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      うえの坊やが，

寝言で「ラフレシアは臭いんだよ。」
といっていました。

その通りです。
良くご存知で。

      
   </content>
</entry>
<entry>
   <title>坊や入学</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2010/04/post_72.html" />
   <id>tag:www.sanryu.net,2010:/mt//1.143</id>
   
   <published>2010-04-12T03:35:44Z</published>
   <updated>2010-04-12T03:38:07Z</updated>
   
   <summary>うえのぼうやが，小学校に入学しました。 ４月のはじめに，おたふく風邪にかかり， ...</summary>
   <author>
      <name></name>
      
   </author>
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      うえのぼうやが，小学校に入学しました。

４月のはじめに，おたふく風邪にかかり，
入学式にでれるか微妙でしたが，
なんかと入学式の日には直って，
入学式に参加できました。

よかったよかった。
      
   </content>
</entry>
<entry>
   <title>うえの坊や</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/11/post_71.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.142</id>
   
   <published>2009-11-29T08:22:59Z</published>
   <updated>2009-11-29T08:32:16Z</updated>
   
   <summary>来年小学生になります。 昨日、２桁の足し算の問題を何問か 出したら、全て正解しま...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      来年小学生になります。
昨日、２桁の足し算の問題を何問か
出したら、全て正解しました。

なんで解るか聞いたら、
「心の中でかずを、かずえているんだよ」
と教えてくれました。

なんか素敵でした。


      
   </content>
</entry>
<entry>
   <title>するめ 2&apos;nd</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/10/_2nd.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.141</id>
   
   <published>2009-10-04T13:33:16Z</published>
   <updated>2009-10-04T13:36:11Z</updated>
   
   <summary>また、買ってしまった・・・。 自分のエントリを見たら、歯茎が痛くなったと書いてあ...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      また、買ってしまった・・・。
自分のエントリを見たら、歯茎が痛くなったと書いてあった。

なぜ、買った俺。

食べずに、後で坊やたちにあげよう。

また、しばらくしたら買ってそうな気がする～。
      
   </content>
</entry>
<entry>
   <title>oracle 10g と Active Perl</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/10/oracle_10g_active_perl.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.140</id>
   
   <published>2009-10-04T13:27:16Z</published>
   <updated>2009-10-04T13:31:41Z</updated>
   
   <summary>知らぬが仏・・・・ですまないのが、世の常。 Oracle10gの入ったWinXP...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="Oracle" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      <![CDATA[知らぬが仏・・・・ですまないのが、世の常。

Oracle10gの入ったWinXPにActivePerlを入れました。
ActivePerlが動きませんでした。

<a href="http://www.freeml.com/dbi-japan/78/latest">ActivePerl with Oracle10g</a>

明日、再インストールしてみよう。
忙しいときに限って、はまる。]]>
      
   </content>
</entry>
<entry>
   <title>坊やたち</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/09/post_70.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.139</id>
   
   <published>2009-09-09T03:34:47Z</published>
   <updated>2009-09-09T03:38:49Z</updated>
   
   <summary>最近，上の坊や６歳と下の坊や３歳が 二人で寝てくれるようになりました。 だいぶ楽...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      最近，上の坊や６歳と下の坊や３歳が
二人で寝てくれるようになりました。

だいぶ楽になりました。
ありがとうございます。

最近，仕事が忙しく，一緒にいても怒ってばかりで
ごめんなさい。
      
   </content>
</entry>
<entry>
   <title>するめ</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/08/post_69.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.138</id>
   
   <published>2009-08-28T03:58:27Z</published>
   <updated>2009-08-28T04:00:02Z</updated>
   
   <summary>するめを食べたら，歯茎が痛くなった。 もう，するめとはお別れしよう。...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      するめを食べたら，歯茎が痛くなった。

もう，するめとはお別れしよう。
      
   </content>
</entry>
<entry>
   <title>?????????</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/06/post_68.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.137</id>
   
   <published>2009-06-30T10:22:51Z</published>
   <updated>2009-06-30T10:28:00Z</updated>
   
   <summary>??????????????????????? ?????????? ???65...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      ???????????????????????

??????????

???65%
???66%

??????????


      
   </content>
</entry>
<entry>
   <title>DatagridView?SPREAD FOR .NET ????????</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/05/datagridviewspread_for_net.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.136</id>
   
   <published>2009-05-23T15:01:07Z</published>
   <updated>2009-05-23T15:40:29Z</updated>
   
   <summary>VB.NET 2005??????? ?? VB.NET 2005 ??????...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="VB.NET" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      VB.NET 2005???????
?? VB.NET 2005 ??????????
???????EXCEL????????????
??????????????EXCLE????????????

?????????

??????????????????
???????????????????
?????????????

???????VB.NET?????????????????????????
?
 
------------------------------------------
     ??          |   DataGridView??????SPREAD
-----------------------------------------
     ????????????????      ????
-----------------------------------------
??????????????????????????????????????????
-----------------------------------------
???????????????????????????????SPREAD?????
-----------------------------------------
?????????????????????????
-----------------------------------------

?????
?????????????????????????????????
?????????????????? DataGridView?????????
????????SPREAD?????????????????????????
?????????????

??????
??DataGridView?
?DataGridView????????????????????????
?DataSet?DataGridView?TableAdapter?BindingSource?BindingNavigator???????
????????????????????????????????
??????????????????????????????????????

??SPREAD FOR .NET?
???????????????????????????????
??????????????????????????
????AutoGenerateColumns = Ture????????????????????
?????????????????

?????
?????????????SPREAD FOR .NET?????
??????????????

      
   </content>
</entry>
<entry>
   <title>datagridview?????????????????</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/05/datagridview.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.135</id>
   
   <published>2009-05-15T13:48:57Z</published>
   <updated>2009-05-20T06:36:39Z</updated>
   
   <summary>????????????????????????? ??CellContextM...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="VB.NET" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      <![CDATA[?????????????????????????
??CellContextMenuStripNeeded???????
?????????????
?[???]?????????
?[???]???????????

<div id="code">
Private mFrozenColumnIndex As Integer

'???????????????
Private Sub dgv_CellContextMenuStripNeeded(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventArgs) Handles dgv.CellContextMenuStripNeeded
    If e.RowIndex < 0 Then
        e.ContextMenuStrip = ContextMenuStrip1
        mFrozenColumnIndex = e.ColumnIndex
    End If
End Sub

'?????????????????
Private Sub ???ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ???ToolStripMenuItem.Click

???????
    UnFrozen()
    ??????
    dgv.Columns(mFrozenColumnIndex).Frozen = True

End Sub

'???????
Private Sub ???ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ???ToolStripMenuItem.Click
    UnFrozen()
End Sub

'?????
Private Sub UnFrozen()
    With dgv
        For i As Integer = 0 To .Columns.Count - 1
            .Columns(i).Frozen = False
        Next
    End With
End Sub
</div>]]>
      
   </content>
</entry>
<entry>
   <title>??</title>
   <link rel="alternate" type="text/html" href="http://www.sanryu.net/mt/2009/05/post_67.html" />
   <id>tag:www.sanryu.net,2009:/mt//1.134</id>
   
   <published>2009-05-03T10:40:27Z</published>
   <updated>2009-05-03T10:46:00Z</updated>
   
   <summary>???????????????????? ???????????????? ??...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sanryu" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="ja" xml:base="http://www.sanryu.net/mt/">
      ????????????????????

????????????????

???????????????????

???????????????????????????????????

???????????????????????

??????????????????????????????

???????????????????????

      
   </content>
</entry>

</feed>
