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

Dynamically changing datasources for a GCC

Hi,

I have a usecase like below. The requirement is with OLEDB.

User will have one GCC and one listbox. The listbox will show
a list of tables. When user selects a table from this listbox,
the GCC should show data from that table. The GCC should also
support CRUD operations. Since this list can grow in future, I
cannot define datatables upfront during design time itself.

I tried to dynamically set select/insert/update/delete command for OLEDBSource and bind it to GCC. However, I am running into
runtime errors like "Object reference not set" etc.

Any ideas on how to achieve this ???

thanks a million,
--Ram

1 Reply

BM Bharath M Syncfusion Team December 24, 2009 09:42 AM UTC

Hi Ram,

Thank you for your interest in Syncfusion products.

I am afraid that I am unable to reproduce the reported issue. Could you please provide us working sample to reproduce this issue. So that we could sort out the cause of the issue and provide you a solution.

Let me know if have any concerns.

Regards,
Bharath .M

Loader.
Live Chat Icon For mobile
Up arrow icon