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

Auto row update on value change

1 Answer 164 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 27 Dec 2010, 10:13 AM
Hello,

I wish to bind the GridView to a sql server datasource and I wish that when I update the table in the database, the GridView will automatically update the rows values. I want to achieve this without reloading the datasouce of the gridview.
Now I get the values from the datasource into a datatable and then set the datatable as the source of the GridView so there is no direct connection between the database and the GridView. Is there a way to give the GridView a "SELECT statement" and it will  autocheck for changes?

Thank you

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 28 Dec 2010, 09:03 AM
Hello David,

RadGridView does not participate in the data layer and it is not responsible for this kind of logic.

You can replace RadGridView with any other ItemsControl (for example ListBox or DataGrid) and ask the same question in Microsoft's WPF forums.

Greetings,
Ross
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or