listview.Add(null);
DataRow[] row= getdatarow();
if (row.Length > 0)
{
for (int i = 0; i < row.Length; i++)
listview.Add(new Frm(i + 1, row[i]["string"].ToString()));
}
this.combobox.DataSource = listview
this.combobox.DisplayMember = "string";
DataRow[] row= getdatarow();
if (row.Length > 0)
{
for (int i = 0; i < row.Length; i++)
listview.Add(new Frm(i + 1, row[i]["string"].ToString()));
}
this.combobox.DataSource = listview
this.combobox.DisplayMember = "string";
this.combobox.ValueMember = "string";