不太明白lz的问题,能不能把javascript还有问题再说清楚点

解决方案 »

  1.   

    不太明白,是要白ListBox选项保存到数据库吗?
    string Str= "";
                    for (int i = 1; i < listbox1.Items.Count; i++)
                    {
                        if (listbox1.Items[i].Selected)
                        {
                            companys += listbox1.Items[i].Value + ',' ;//','为分割所用  
                        }
                    }