一、把Array數(shù)組綁到DropDownList 復(fù)制代碼代碼如下: string[] Month =new string[7]{ "January", "February", "March", "April", "May", "June", "July" }; this.DropDownList1.DataSource = Month; this.DropDownList1.DataBind(); 這種方法只可以綁定一組數(shù)據(jù)到DropDownList,因為DropDownList可以綁定兩種數(shù)...
www.dbjr.com.cn/article/826...htm 2025-6-9