我想将纯数据中的分层数据数据绑定到 ASPxTreeList,我在线查看了数据绑定的文档,这是我找到的代码:
Imports Microsoft.VisualBasic
Imports System
Partial Public Class Data_Hierarchical
Inherits BasePage
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If (Not IsPostBack) Then
DataBind()
treeList.ExpandToLevel(1)
End If
End Sub
End Class
但是 DataBind() 是如何实现的呢?