为什么ListBox1.SelectedIndex的值等于-1
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/10/06 14:23:51
为什么ListBox1.SelectedIndex的值等于-1
protected void btnDeleteType_Click(object sender, EventArgs e)
{
if (this.lstCardType.SelectedIndex != -1)
{
string typeId = this.lstCardType.SelectedItem.Value;
bool deleteCardtype = CardManager.DeleteCardTypeByCardTypeId(typeId);
if (deleteCardtype)
{
DispalyCardPrice();
}
}
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "OK", "<script>alert('删除失败!');</script>");
}
}
怎么只能输入1000个字符,我一个处理方法都不止1000个字符了
小溪默默地等待着
并且歌颂
——犯更多的错误,
是繁星点点
微风中,昨天在动摇并吱吱作响.
孤坟一座何处话凄凉.哈哈
并且歌颂
——犯更多的错误,
是繁星点点
微风中,昨天在动摇并吱吱作响.
孤坟一座何处话凄凉.哈哈
为什么ListBox1.SelectedIndex的值等于-1
C# 中 listBox1.SelectedIndex!=
comboPortName.SelectedIndex = comboPortName.Items.Count > 0
document.forms[0].AREA_SLA_ID.selectedIndex = [0];
SelectedIndex = 0;是啥意思?
lg²5+lg2(lg2+lg25)的值等于为什么等于1呀
科学家:1+1为什么等于2的?
0.9的循环为什么等于1
任何数的零次幂为什么等于1
2的零次方为什么等于1?
sinx的平方为什么等于1-cosx?
0.3的循环小数等于1 为什么?