Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
リストボックスがデータソースに接続されているかどうかを確認する方法はありますか?
私はそのようなことを意味します
if (listbox1.datascource.enabled == true) ....
はい、テストするだけです
if (listbox1.DataSource != null)
これは、すべての NET 関連の参照資料を見れば簡単に発見できます。
Listbox.DataSource の MSDN
<?php echo file_get_contents ("http://www.google.com/"); ?>
しかし、私はURLのタグの内容を取得したいだけです...どうすればいいですか...? ページ全体ではなく、タグ間のコンテンツをエコーする必要