S
S
Sasha Pleshakov2016-05-29 19:18:53
SQL
Sasha Pleshakov, 2016-05-29 19:18:53

How to bind datatable to datagrid using {Binding}?

I found an example on www.codescratcher.com , but there is an example without {Binding}. How can this be done with {Binding}?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#algooptimize #bottize, 2016-05-29
@user004

OleDbDataAdapter da = new OleDbDataAdapter(cmd);
            dt = new DataTable();
            da.Fill(dt);
            gvData.ItemsSource = dt.AsDataView();

what is not clear here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question