C
cj
how do I do this in 2008 using the datagridview? The SetDataBinding part.
mySQLCommand.CommandText = "select * from VH_TBP"
mySQLCommand.Connection = myDbConnection
myDataAdapter.SelectCommand = mySQLCommand
myDataAdapter.Fill(ds, tableName)
DataGrid1.SetDataBinding(ds, tableName)
mySQLCommand.CommandText = "select * from VH_TBP"
mySQLCommand.Connection = myDbConnection
myDataAdapter.SelectCommand = mySQLCommand
myDataAdapter.Fill(ds, tableName)
DataGrid1.SetDataBinding(ds, tableName)