Пример #1
0
    protected void LoadCompetencias()
    {
        ole.ConnectionString = conexao;
        DataTable tb = (DataTable)ole.Query("SELECT * FROM Competencias WHERE Nome LIKE '%" + BuscarNome.Text + "%' ORDER BY CompetenciaId;");

        Competencia.DataSource = tb;
        Competencia.DataBind();
    }