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
close icon

Binding to Arrays

Hi,

I am trying to bind to .Net Arrays. Example:

Client[] clients = new Client[5];

// populate the array

dgSyncFusion.DataSource = clients;
dgSyncFusion.DataMember = ???
dgSyncFusion.DataBind();

What should be value of DataMember above? I can''t leave it black because then I get an error. Please respond asap.

Thanks,
VJ

1 Reply

AD Administrator Syncfusion Team August 16, 2006 05:57 AM UTC

Hi Veejay,

I assume you are using VS.Net2005 and getting this error. please try setting the DataMember="DefaultView" which should solve the issue.
In our upcoming 4.3 version this has been taken care and it is not mandatory to specify the DataMember.

Thankyou for using syncfusion products

Best Regards,
A.Sivakumar

Loader.
Live Chat Icon For mobile
Up arrow icon