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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Populate tree grid from SqlDatasource control

Thread ID:

Created:

Updated:

Platform:

Replies:

144663 May 16,2019 10:20 AM UTC May 17,2019 07:01 PM UTC ASP.NET Web Forms 1
loading
Tags: TreeGrid
Alex Jermy
Asked On May 16, 2019 10:20 AM UTC

Hi,

Is it possible to populate the treegrid form a SqlDatasource control?

How is the binding handled by the treegrid?

Thanks,

Alex

Jesus Arockia Sankaran S [Syncfusion]
Replied On May 17, 2019 07:01 PM UTC

Hi Alex,Thank you for contacting Syncfusion support.We have analyzed your requirement. We can bind the SQL data source to the TreeGrid control by using the SqlDataSource control, for this we need to map the SqlDataSource control ID to the TreeGrid DataSourceID property.In this SqlDataSource control we need to provide the connection string and “selectcommand” to fetch the data.  Please find our below sample browser sample link for this.Sample browser Link: https://asp.syncfusion.com/demos/web/treegrid/sqlbinding.aspxPlease let us know, if you require further assistance on this
Regards, 
Jesus Arockia Sankaran S 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon