how do I do this in 2008 using the datagridview? The SetDataBinding part.
mySQLCommand.Co mmandText = "select * from VH_TBP"
mySQLCommand.Co nnection = myDbConnection
myDataAdapter.S electCommand = mySQLCommand
myDataAdapter.F ill(ds, tableName)
DataGrid1.SetDa taBinding(ds, tableName)
mySQLCommand.Co mmandText = "select * from VH_TBP"
mySQLCommand.Co nnection = myDbConnection
myDataAdapter.S electCommand = mySQLCommand
myDataAdapter.F ill(ds, tableName)
DataGrid1.SetDa taBinding(ds, tableName)
Comment