Si lo quieres hacer por ODBC sería algo así:
Cita: string s = "Dsn=nombre_DSN;" +
"Host=tu_host;" +
"Server=nombre_server;" +
"Service=nombre_servicio;" +
"Protocol=onsoctcp;" +
"Database=tu_base;" +
"Uid=t

suario;" +
"Pwd=tu_password;";
OdbcConnection oConn = new OdbcConnection(s);
OdbcCommand oCmd = new OdbcCommand("select * from tu_tabla",oConn);
oConn.Open();
OdbcDataReader dr = oCmd.ExecuteReader();
while (dr.Read()){
Response.Write(dr[1].ToString() + "<br>");
}
dr.Close();
oConn.Close();