「DataGridの現在のセルを取得、設定する」へのコメント http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html 「DataGridの現在のセルを取得、設定する」に投稿されたコメントの一覧 ja https://dobon.net/banner/dbs1.gif http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html 「DataGridの現在のセルを取得、設定する」へのコメント 88 31 通常のコメント http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#6 Console.WriteLine("選択されているセルの値:{0}", dataGrid1[rn, cn].Value.ToString());
では無いでしょうか?

Console.WriteLine("選択されているセルの値:{0}", dataGrid1[rn, cn].ToString());
上記だと、セルの情報が取れてしまいます。]]>
Wed, 13 Oct 2010 02:02:01 +0900 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#6
通常のコメント http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#5 > datagrid1.currentpageindexしかない・・・

この手の間違いが非常に多いようですが、ここで紹介しているのはWindowsコントロールのDataGridであって、WebコントロールのDataGridではありません。「DataGridコントロール(System.Windows.Forms)」というカテゴリ名を付けているので分かっていただけるだろうと思っているのですが、分りにくいのでしょうか?]]>
Tue, 25 Aug 2009 03:33:47 +0900 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#5
評価の理由 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#4 datagrid1.currentcellがなく
datagrid1.currentpageindexしかない・・・
さてどうしようか・・・・・]]>
Mon, 24 Aug 2009 16:30:22 +0900 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#4
評価の理由 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#2 わかりにくい]]> Mon, 06 Jul 2009 09:15:20 +0900 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#2 評価の理由 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#1 突貫作業のとき、徹夜で作業していて行き詰ったときに、助かります。時間はないし、頭は動かないし、なきたくなったときに丁寧な説明は感謝感謝です。]]> Mon, 27 Feb 2006 22:17:27 +0900 http://dobon.net/cgi-bin/pc/pc.php?mode=v&id=datagrid%2Fcurrentcell.html#1