We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column/Row inversion when binding to a DataView

Thread ID:





62443 Jun 14,2007 07:06 PM UTC Jun 14,2007 09:42 PM UTC WinForms 1
Tags: GridControl
Mark Atkinson
Asked On June 14, 2007 07:06 PM UTC

This is probably a bit of a stretch, but is it possible to bind a GDBG to a DataView or DataTable but switch the layout such that the table's field names are described in each row header of the first column and the values are in the second column?
That is, I'd like to have each record in the data source listed as a column in the grid.

Eg: Rather than this:
Col1 Col2 Col3
Record1Val1 Record1Val2 Record1Val3
Record2Val1 Record2Val2 Record2Val3

Something like this:
Col1 Record1Val1 Record2Val1
Col2 Record1Val2 Record2Val2
Col3 Record1Val3 Record3Val2

Saravanan A [Syncfusion]
Replied On June 14, 2007 09:42 PM UTC

Hi Mark,

There is no direct way to achieve this in GDBG. But you can achieve this by virtually binding the GridControl with the DataTable.

Please refer to this forum.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon