OracleConnection cn = new OracleConnection("Data Source=ORACLE实例名;User Id=用户名;Password=密码");
cn.Open();
using (OracleCommand cmd = new OracleCommand("SELECT * from 表名"), cn))
{
this.GridView1.DataSource = cmd.ExecuteReader(CommandBehavior.CloseConnection);
this.GridView1.DataBind();
}