C
Carlos
Hi all,
just wanted to display the resultset from a dataset in a
gridview is it possible?
Dim sqlCommand As String = "Select LastName, FirstName, emailHome From
employees"
Dim dbCommand As DbCommand = db.GetSqlStringCommand(sqlCommand)
Dim studentDataSet As DataSet = db.ExecuteDataSet(dbCommand)
GridView1.DataSource = studentDataSet
GridView1.DataBind()
I do not see any data after executing. However, it seems that it worked
because no exceptions were thrown.
Can someone help?
Thanks,
Carlos.
just wanted to display the resultset from a dataset in a
gridview is it possible?
Dim sqlCommand As String = "Select LastName, FirstName, emailHome From
employees"
Dim dbCommand As DbCommand = db.GetSqlStringCommand(sqlCommand)
Dim studentDataSet As DataSet = db.ExecuteDataSet(dbCommand)
GridView1.DataSource = studentDataSet
GridView1.DataBind()
I do not see any data after executing. However, it seems that it worked
because no exceptions were thrown.
Can someone help?
Thanks,
Carlos.