This is a migrated thread and some comments may be shown as answers.

How to update a binded radTree

2 Answers 66 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Anoop
Top achievements
Rank 1
Anoop asked on 24 Dec 2012, 11:01 AM
I had binded rad tree with an sql database.it is showing nodes perfectly.Using default context menu i add more nodes to the tree.how to save these newly added nodes back to data base like method provided to update scheduler when it is attached to a databse

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 24 Dec 2012, 03:23 PM
Hello Anoop,

Thank you for writing.

To update your data back to your database, you need to call the Update method of your TableAdapter. More information regarding this matter can be found on MSDN: http://msdn.microsoft.com/en-us/library/ms171933(v=vs.80).aspx.

I hope this helps.
 
All the best,
Stefan
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Anoop
Top achievements
Rank 1
answered on 25 Dec 2012, 11:51 AM
thanks that worked.
Also i found that the database was not saving even if i had put the write codes.
It was due to windows access permission,But the code didn't give any error for that.Any method to check whether the Db saving properly ?
Tags
Treeview
Asked by
Anoop
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Anoop
Top achievements
Rank 1
Share this question
or