[.NET] WindowsIdentity.GetCurrent と Thread.CurrentPrincipal

clock September 17, 2008 19:19 by author
今まで同じものだと思ってた。 ( WindowsIdentity と IPrincipal の違いは置いといて。) それぞれ違うユーザー情報を返してきた時は驚いた。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[ .NET ] .NET Framework VB の RaiseEvent アクセサの問題点

clock September 14, 2008 19:23 by author
とりこびとさんの記事を読んでいて、そういえば VB のイベント定義って C# と違うんだよなぁと思い出したことがきっかけで、久々に VB のコードを書いてみました。そしたら、ちょっとした問題に気づきました。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


親テーブルと子テーブルを DataSet 上で連携し、作業ウィンドウとシートの表示を連動させる方法 C# 版

clock September 3, 2008 09:20 by author
親テーブルと子テーブルを DataSet 上で連携し、作業ウィンドウとシートの表示を連動させる方法 C# 版 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


PHP から SQLite に接続する方法

clock August 30, 2008 14:38 by author
下記が PHP から SQLite に接続する例です。 ヘテムルでは、PHP4 と PHP5 でご利用いただけます。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


How to get ASP.NET MVC Preview 4 to run with .NET SP1

clock August 26, 2008 18:15 by author
As you probably know by now (i.e. from Phill's blog), however both Routing and Abstractions are. MVC Preview 4, however, has its own version of both assemblies. In order to get MVC to use the new RTM bits of both assemblies (and avoid weird side-by-side errors), you just need to add the following binding redirect to the web.config file: [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Windows Live IDを利用する

clock August 21, 2008 23:40 by author
Live IDを利用する方法がまとめられているようです。 #まだきちんと読んでない。 この手の作業はとにかくやってみないとなぁ。。。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Visual Stuido 2008 Service Pack 1 に ASP.NET controls for Silverlight は含まれてません

clock August 20, 2008 08:07 by author
Visual Studio 2008 SP1 がリリースされて一週間が経ちましたが、小野さんと話していて、ASP.NET controls for Silverlight が入って無い?という事を知りました。 確かに SP1 のページにも記述されていないので、ASP.NET 公式ページの方を見て見ました。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


LINQ to SQL:データの一括削除

clock August 3, 2008 09:47 by author
複数のデータを削除するには、対象となるデータを抽出し、その結果をRemoveAllメソッドに渡します。 たとえば以下のようなプログラムになります。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


HTML TABLEタグでヘッダを固定にしてデータ部だけスクロール

clock June 3, 2008 07:58 by author
面倒なんですね~。 HTML TABLEタグでヘッダを固定にしてデータ部だけスクロール 今だ標準的で簡単な手法が無いとはどういうことなんでしょうね。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


指定した年と月に含まれる日数を取得する

clock May 6, 2008 08:08 by author
指定した年と月に含まれる日数を取得するには、DateTime の DaysInMonth メソッドを使用します。 引数に取得したい年と月を指定することで、指定した年と月に含まれる日数が返されます。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


先頭からいくつかの文字を検索する

clock March 21, 2008 05:00 by author
System.String クラスの IndexOf メソッドを使用すると、先頭から文字を検索することができます。 これとは別で IndexOfAny メソッドというメソッドがあります。 IndexOfAny メソッドは Char 型の配列を指定し、その配列内に存在する文字のいずれかがヒットした最初のインデックス値を返します。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[C#,VB,JAVA]Excel を起動または終了する

clock March 18, 2008 01:08 by author
Excel アプリケーションは、Excel.Application のインスタンスを生成し、Visible を true に設定することで表示されます。 終了させる場合は Quit メソッドを使用しますが、その後に System.Runtime.InteropServices.Marshal クラスの ReleaseComObject メソッドを使用して、COM オブジェクトを解放しなければなりません。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[Tips]RewritePathした時にFormのActionを書き換える(Register:HtmlForm)

clock March 17, 2008 07:13 by author
RewritePathした時にFormのActionを書き換える [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


JAVA Servlet、JSP + Oracle9i - JDBC、テーブル構造リスト一覧表示

clock March 4, 2008 22:51 by author
テーブル構造リスト一覧表示 ・各テーブルのテーブル構造リスト一覧を表示するには、次のようにする。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


IIS7.0 統合された ASP.NET パイプラインを 活用した 応用 プログラム 向上

clock February 15, 2008 22:49 by author
2008年 1ワルザ MSDN Magazine に 良い 内容が 一つ 上って来たこと ようです. IIS7.0 統合された ASP.NET パイプラインを 活用した 応用 プログラム 向上 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  October 2008  >>
SuMoTuWeThFrSa
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in