Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 607127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:19:38+00:00 2026-05-13T17:19:38+00:00

I have a treeList, loaded with data from SQL DB. The logigs in sql

  • 0

I have a treeList, loaded with data from SQL DB. The logigs in sql for tree is standart: ID, ParentID and other fields.
Now i want to implement Copy-Paste in this tree. When I click on tree, and select “Copy” button on some node with some tree structure, i select to DataTable all information about that object and all his children, subchildren and so on. The tree can have many levels.
Now i want to “paste” this selected node(with all data: childrens, subchildrens and so on) on another tree node. How i can implement that and insert into SQL all that data with relationships, like in that copied node ..? I guess here I need some recursive methods..?Maybe someione can share a little experience and examples.
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:19:38+00:00Added an answer on May 13, 2026 at 5:19 pm

    The best reference for dealing with trees in a DB is Celko’s Trees and Hierarchies in SQL for Smarties.

    PIck up a copy, it helped me at lot when using nested sets to store a tree hierarchy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a treelist of data. I'm looping through the tree list to match
Have one Doubt In MVC Architecture we can able to pass data from Controller
Context I have written a TreeList/TreeGrid (i.e. tree with columns) control that inherits the
I have a method GetSelectedServices() which returns Selected Nodes from a Tree List, Expecting
i have DX treeList, it has some functionality like copy, paste, delete and so
I have a requirement for a Tree grid or Tree list control. This is
I have a simple application where I am displaying the tree list in a
**Have it working now. I forgot to populate the Array List. How embarrassing. I'm
Taken from the Apache TreeList doc : The following relative performance statistics are indicative
I have the following binary tree A / \ B C / \ D

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.