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.
私は次のコードを持っています
li1 = ddsState.Items.FindByValue("State")
li1を文字列として宣言しましたが、
ListItem.
なんで?
どうやら、ddsStateこれは一種のリストであり、おそらくドロップダウンリストです。Itemsコレクションはで構成されていますListItems。したがって、の1つを見つけるとItems、そのタイプはListItemです。
ddsState
Items
ListItems
ListItem
の宣言をに変更するli1とListItem、値を含むそのプロパティを調べることができます。
li1