cj.
The datasource in the DataGridView exist from version 2005, it exist in the
DataGrid, the ListBox and the Combobox from version 2002.
However, in version 2008 it is better to place the bindingsource between it
as some problems are then fixed while behaviour in old programs stay the
same.
\\\
Dim bs As New BindingSource
bs.DataSource = dt
DataGridView1.DataSource = bs
////
Cor
"cj" <cj@nospam.nospamschreef in bericht
news:e6**************@TK2MSFTNGP06.phx.gbl...
In VB 2008 how do I link the datagridview to a dataset?
mydataadapter.fill(myds, "test")
datagridview1.????????
When I was using 2005 I used the datagrid and it was done like:
mydataadapter.fill(myds, "test")
datagrid1.DataGrid1.SetDataBinding(ds, tableName)
but in 2008 with the datagridview setdatabinding doesn't exist.