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. Image for the cookie policy date

Display data in GDBG control

Please let me know how to display the data (which is contained in a class that contains an array of classes) in the GDBG control using "this.gridDataBoundGrid1.DataSource"


1 Reply

RB Ragamathulla B Syncfusion Team November 10, 2011 06:45 AM UTC

Hi Anitha,

Thank you for your Interest in Syncfusion products.

You can bind the collection in the GDBG. The following code explains the same.

ArrayList array = new ArrayList();
array.Add(new MyClass(001, "John David"));
array.Add(new MyClass(002, "Tom"));
array.Add(new MyClass(003, "Bretney"));
array.Add(new MyClass(004, "Jessy"));
array.Add(new MyClass(005, "Bruch"));
array.Add(new MyClass(006, "Johny"));

Please refer to the following sample which illustrates the same.

http://www.syncfusion.com/downloads/Support/DirectTrac/87069/GDBGSample-2118917405.zip

Please let me know if you have any further concerns.

Regards,
Ragamathullah B.



Loader.
Live Chat Icon For mobile
Up arrow icon