将TreeView保存到数据库 [英] Save TreeView to Database

查看:188
本文介绍了将TreeView保存到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的,所以请帮忙.


我有一个3 colm的数据库.

id parentid desc
1个空AAA
2空BBB
3 2 CCC
4 1 DDD

我想你应该已经明白了.我能够加载树,需要添加,删除和保存回数据库的帮助.最好的事情是
编码示例,所以我可以学习看它.


谢谢.

I am new at doing this, so please help.


I have a data base with 3 colm.

id parentid desc
1 null AAA
2 null BBB
3 2 CCC
4 1 DDD

I think you get the idea. I am able to load the tree, need help with adding, deleting and saving it back to the database.Best thing will be a
coding example so I can learn looking at it.


Thank you.

推荐答案

您的哪一部分有问题? 文章 [
What part is you have a problem with? There are tones of articles[^] here


这篇关于将TreeView保存到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆