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

Column data doesnt show when using SQLCeResultSet

3 Answers 80 Views
GridView
This is a migrated thread and some comments may be shown as answers.
RobbMurdock
Top achievements
Rank 1
RobbMurdock asked on 05 Apr 2008, 10:52 PM
Greetings:

I am attempting to display rows from an SQLCeResultSet.

The rows are clearly displaying; but no column data shows.  If I use a standard Windows DataGridView is shows fine.  

The database has three rows; and the Telerik RadGridView shows that there are three rows displayed; but the column data is not present.  I have set the column names in the designer.

I setup the Windows DataGridView in the same manner.  It shows the column data but the RadGridView does not.

Any ideas why ?

Thanks,

Robb Murdock

Dim oConn As New SqlServerCe.SqlCeConnection
oConn.ConnectionString = ConnectString
oConn.Open()
Dim oCmnd As New SqlServerCe.SqlCeCommand("select * from tblMyData", oConn)MyRadGridView.DataSource =  oCmnd.ExecuteResultSet(SqlServerCe.ResultSetOptions.Updatable + SqlServerCe.ResultSetOptions.Scrollable)

 

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 07 Apr 2008, 04:14 PM
Hi Robb,

Thank you for your question.

The RadGridView control does not support SqlCeResultSet object for direct binding.

The good news is that our new version of RadGridView will support the GridViewTemplate object, which is used for loading data from IDataReader object. The loaded data can then be used in new unbound mode. You can test this functionality through the LoadFrom() API function in the beta edition of new RadGridView here.

The official version of RadGridView is expected in two weeks.

I hope this was helpful. If you have additional questions, please contact us.

 
Sincerely yours,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Vic
Top achievements
Rank 1
Iron
answered on 13 May 2012, 03:52 PM
Hello,
Is it still the case that the wpf RadGridView does not support direct binding to SqlCeResultSet?
0
Stefan
Telerik team
answered on 16 May 2012, 11:30 AM
Hello,

This forum concerns RadGridView for WinForms rather than RadGridView for WPF. Please address your question in the appropriate forums in order to get adequate response.
 
Greetings,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
RobbMurdock
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Vic
Top achievements
Rank 1
Iron
Stefan
Telerik team
Share this question
or