我有这个清单:
public static List<int> getData(OdbcConnection conn)
{
List<int> myData = new List<int>();
string myQuery = "some Sql text";
// ...............some other code
return myData;
}
Run Code Online (Sandbox Code Playgroud)
我需要使用AddRange将List中的参数添加到comboBox:
this.comboBox1.Items.AddRange( new object[] { ??????????? });
我该怎么做?
| 归档时间: |
|
| 查看次数: |
5771 次 |
| 最近记录: |