do
{
foreach (DataGridViewRow row in m_dataGridView.Rows)
{
try
{
m_dataGridView.Rows.Remove(row); }
catch (Exception) { }
}
} while (m_dataGridView
.Rows.Count > 1);
2013年5月29日水曜日
vb.net datagridViewのすべての行を削除
vb.net datagridViewのすべての行を削除
2013年5月28日火曜日
Linux Centos ネットワーク上で使用しているIPアドレスを自動で調べるコマンド
Linux Centos ネットワーク上で使用しているIPアドレスを自動で調べるコマンド
nmap -sP 192.168.11.0/24
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-05-28 09:44 JST
Host 192.168.11.1 appears to be up.
MAC Address: 1C:B1:7F:4D:9D:05 (Unknown)
Host 192.168.11.52 appears to be up.
MAC Address: 8C:89:A5:79:16:89 (Unknown)
Host 192.168.11.55 appears to be up.
MAC Address: 5C:F3:FC:2B:71:3E (Unknown)
Host 192.168.11.59 appears to be up.
MAC Address: 00:16:01:6C:6E:3A (Buffalo)
Host 192.168.11.65 appears to be up.
MAC Address: 24:BE:05:28:ED:4B (Unknown)
Host 192.168.11.155 appears to be up.
MAC Address: 00:14:85:68:81:5F (Giga-Byte)
Host 192.168.11.186 appears to be up.
Host 192.168.11.240 appears to be up.
MAC Address: 08:00:37:A1:32:DC (Fuji-xerox CO.)
Host 192.168.11.254 appears to be up.
MAC Address: 00:A0:DE:29:7C:5C (Yamaha)
Nmap finished: 256 IP addresses (9 hosts up) scanned in 21.283 second
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-05-28 09:44 JST
Host 192.168.11.1 appears to be up.
MAC Address: 1C:B1:7F:4D:9D:05 (Unknown)
Host 192.168.11.52 appears to be up.
MAC Address: 8C:89:A5:79:16:89 (Unknown)
Host 192.168.11.55 appears to be up.
MAC Address: 5C:F3:FC:2B:71:3E (Unknown)
Host 192.168.11.59 appears to be up.
MAC Address: 00:16:01:6C:6E:3A (Buffalo)
Host 192.168.11.65 appears to be up.
MAC Address: 24:BE:05:28:ED:4B (Unknown)
Host 192.168.11.155 appears to be up.
MAC Address: 00:14:85:68:81:5F (Giga-Byte)
Host 192.168.11.186 appears to be up.
Host 192.168.11.240 appears to be up.
MAC Address: 08:00:37:A1:32:DC (Fuji-xerox CO.)
Host 192.168.11.254 appears to be up.
MAC Address: 00:A0:DE:29:7C:5C (Yamaha)
Nmap finished: 256 IP addresses (9 hosts up) scanned in 21.283 second
2013年5月24日金曜日
vb.net datagridview 新規行判定方法
vb.net datagridview 新規行判定方法
If False = dataGridViewObj.Rows(0).IsNewRow Then
' 新規行じゃない
Else
' 新規行ですよ
EndIf
' 新規行じゃない
Else
' 新規行ですよ
EndIf
登録:
投稿 (Atom)