asp.net . i have to export data in excel :  if (!IsPostBack)
            {
                OracleConnection conn = new OracleConnection(conns); // C#  
                OracleCommand cmd = new OracleCommand("select * from APPLICATION AND FRAME", conn);
                cmd.CommandType = CommandType.Text;
                conn.Open();
                OracleDataReader dr = cmd.ExecuteReader();
                DataTable dt = new DataTable(); 
                dt.Load(dr);
                grdSeacrhResult.DataSource = dt;
                grdSeacrhResult.DataBind();
                conn.Close();
        }



got error of ORA-00933: SQL command not properly ended.

