日期:2014-05-20  浏览次数:20484 次

ASP.NET ListBox的问题
我单击按钮时,listbox选择记录的index总是为0!我知是因为postback的问题,请问我要得到我选择记录的index,该如何做呢?谢谢!有点急!

------解决方案--------------------
Label1.Text=ListBox1.SelectedIndex.ToString();