且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在列表框中查找多个选择项的索引

更新时间:2023-01-11 21:10:03

根据 http://msdn2.microsoft.com/en-us/lib...es(VS.71) .aspx

ListBox.SelectedIndices是.net1.1中的一个属性。

我的猜测是你拼写错误或没有正确的大小写。
As per http://msdn2.microsoft.com/en-us/lib...es(VS.71).aspx
ListBox.SelectedIndices is a property in .net1.1.
My guess is you were just spelling wrong or not having correct capitalization.



根据 http://msdn2.microsoft.com/en-us/lib...es(VS.71).aspx

ListBox.SelectedIndices是.net1.1中的属性。

我的猜测是你只是拼写错误或没有c正确的大写。
As per http://msdn2.microsoft.com/en-us/lib...es(VS.71).aspx
ListBox.SelectedIndices is a property in .net1.1.
My guess is you were just spelling wrong or not having correct capitalization.



感谢Plater的回复

但我使用的是asp.net 2.0和visual c#2005.

我写了ListBox1。但我所能追踪的是

selectedindex

selectedindexchanged

selectedvalue

selecteditem

selectionmode


selectedindices似乎无处可去


谢谢

cmrhema

Thanks Plater for the reply
But I am using asp.net 2.0 and visual c# 2005.
and I did write ListBox1. but all i could trace was
selectedindex
selectedindexchanged
selectedvalue
selecteditem
selectionmode


selectedindices seems nowhere in the list

thanks
cmrhema



感谢Plater的回复

但我使用的是asp.net 2.0和visual c#2005.

和我确实写了ListBox1。但我所能追踪的是

selectedindex

selectedindexchanged

selectedvalue

selecteditem

selectionmode


selectedindices似乎在列表中无处


谢谢

cmrhema
Thanks Plater for the reply
But I am using asp.net 2.0 and visual c# 2005.
and I did write ListBox1. but all i could trace was
selectedindex
selectedindexchanged
selectedvalue
selecteditem
selectionmode


selectedindices seems nowhere in the list

thanks
cmrhema



您好,

SelectedIndices仅出现在Windows应用程序环境中。

对于asp .net(我自己试过)迭代每个列表框中的项目

并检查他们选择的属性是否真实。


欢呼

Hello,
SelectedIndices appears only in windows application environment.
For asp .net (i tried this myself) iterate through each item of the list box
and check if their selected propert is true or not.

cheers