D
Dave
Hi,
I am using the following code to display some test data but the data
is not visible in the grid, only the headers appear. Not really sure
what else to do, I looked at examples on the web and I don't really
see a difference. Thanks for any help!
SqlDataAdapter1.SelectCommand.CommandText = "Select * from tbRace"
Dim ds5 As New DataSet
Dim strval As String = SqlDataAdapter1.SelectCommand.CommandText
SqlDataAdapter1.Fill(ds5, strval)
DataGrid1.DataSource = ds5.Tables(strval)
DataGrid1.DataBind()
Dave
I am using the following code to display some test data but the data
is not visible in the grid, only the headers appear. Not really sure
what else to do, I looked at examples on the web and I don't really
see a difference. Thanks for any help!
SqlDataAdapter1.SelectCommand.CommandText = "Select * from tbRace"
Dim ds5 As New DataSet
Dim strval As String = SqlDataAdapter1.SelectCommand.CommandText
SqlDataAdapter1.Fill(ds5, strval)
DataGrid1.DataSource = ds5.Tables(strval)
DataGrid1.DataBind()
Dave