This is a migrated thread and some comments may be shown as answers.

Grid doesn't display data, just "System.Data.DataRowView"

1 Answer 322 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 14 Apr 2010, 05:02 PM
I have a grid that I am using to display search results in.  This is my first project using a RadGrid.  I'm using VB.Net in Visual Studio 2008.

I created the 3 columns ahead of time and then when the search is run I fill a DataSet with the SQL query results, set the DataSet as the "DataSource" and then call "Rebind" on the grid.

The grid properly redraws and shows me that there were 3 rows of results returned, but each cell of the table simply shows "System.Data.DataRowView" instead of the actual values.

Is there some property I'm missing somewhere that is causing the table to not show me the actual data in my DataSet?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 16 Apr 2010, 04:41 PM
Hello Kevin,

This issue can appear when the DataField value of the column in question does not matches the underlying source column name (the same can be observed with regular MS GridView control). Please revise your code accordingly to address the problem in question.

Regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or