OdbcConnection myConnection = new OdbcConnection(connectionString);
DataSet ds = new DataSet("FDWDATA");
OdbcDataAdapter da = new OdbcDataAdapter();
OdbcCommand cmd = new OdbcCommand();
cmd.CommandText ="select PENAME from FDWPRE";
da.SelectCommand = cmd;
da.SelectCommand.Connection = myConnection;
da.Fill(ds,"FDWTBL");
// Get table from dataset then loop to get rows value and add in dropdownlist and any where in text
DataTable tb = ds.Tables["FDWTBL"];
foreach (DataRow row in tb.Rows)
{
string somename = (string)row["PENAME"];
lstNames.Items.Add(somename);
}