简体   繁体   English

带数据库的DevExpress TreeList视图

[英]DevExpress TreeList View with Database

i am currently developing a project and i was stock with treelistview of devexpress what i want is that i have a 3 tables namely Category, Product, Size in my database.. and i want a view like this in my database to represent as my inventory form. 我目前正在开发一个项目,并且我在devexpress的treelistview中有库存,我想要的是我的数据库中有3个表,即Category,Product,Size。并且我希望数据库中的这样一个视图代表我的库存形成。

  • represent as node 1 COVERALL(CATEGORY) 表示为节点1 COVERALL(CATEGORY)
  • represent as node 2 APLAYA(PRODUCT) 代表节点2 APLAYA(PRODUCT)

    > represents as node 3 SMALL ETC (SIZES) >表示为节点3 SMALL ETC(SIZES)

| | Product Category | 产品分类 | | | |

* COVERALL | *总体| | | | |

- APLAYA | -APLAYA | PRODUCTS -IN | 产品-IN | PRODUCTS OUT | 产品展示| TOTAL

>SMALL | >小| 120 | 120 | 50 | 50 | 70 70

>LARGE | >大| 130 | 130 | 40 | 40 | 90 90

>MEDIUM | >中| 140 | 140 | 40 | 40 | 140 140

>EXTRALARGE | >超大型| 180 | 180 | 30 | 30 | 150 150

that's why i want to do with my application through the treelistview tool.. please help me .. i really nid it.. 这就是为什么我想通过treelistview工具处理我的应用程序..请帮助我..我真的很喜欢它..

thank you very much 非常感谢你

If you are developing your application in WPF, you can follow the guide as outlined in 如果要在WPF中开发应用程序,则可以按照

DevExpress Online Documentation DevExpress在线文档

For winforms, please look here . 对于winforms,请在这里查看

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM