I am currently playing around with the trial version of the RadControls. I was wondering if there is a sample code for the RadGridView Control i can use that binds to Microsoft SQL Server database and allow grouping with different column field for each grouping.
There should be a fully Demo Project included with the install that will show how to bind to a DataReader. So you can just create a your datareader from an SQL Server connection like normal.
You can also just create a Dataset linking to a MS SQL database like normal, and then Bind the RadGridView to that dataset just through the properties.
0
Julian Benkov
Telerik team
answered on 05 Sep 2007, 10:46 AM
Hi Nicky,
You can create typed DataSet linked to a SQL Server database, and then bind RadGridView to this dataset using the DataSource/DataMember properties.
Grouping is accessible and can be changed by the GroupByExpressions collection of MasterGridViewTemplate of RadGridView. But first look at the examples that come with the installation as they demonstrate this feature nicely.