fernandofranca 3 Light Poster

I want to select rows from the DataTable using the Select method, but I need to change somes, and I need this changes to be made on the DataTable too.

Is there any way to bind the selection to the datatable?

Something like this?

public void bindDataRowToDataTable()
        {
            Siglasul_Qualidade.Dados.BancoDeDados db = new Siglasul_Qualidade.Dados.BancoDeDados();

            DataTable testTable = new DataTable();

            BindingSource bSource = new BindingSource();

            bSource.DataSource = testTable;

            testTable = db.bSource("Desc_Falhas");
        }

Using the bind I have one problem, I´m not using it under a Form. And BindingSource is a Form class right ?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.