Bind KetticTreeView to Database in C#.NET
KetticTreeView WinForms control provides powerful data binding capability and developers can just configure a simple property of the control to bind the TreeView to any data sources or objects. This control allows the developers to easily bind it to database data and show data in tree view. The KetticTreeView contains the RelationBindings collection to create tree levels when we process the data binding. The following C# tutorial demonstrates the database binding of KetticTreeView.
RelationBindings Collection of KetticTreeView in C#.NET
KetticTreeView provides the RelationBindings collection for the UI designers to bind itself to database data. The collection is capable of creating tree levels as data binding and its object includes the parent data and child data that will be bound to, as well as the data columns populating the Text and Value properties of TreeView nodes. Parameters of RelationBinding Collection for KetticTreeView
The constructor of the RelationBinding collection contains a few overrides and we should at least pass the RelationName and DataSource to the Add() method.
Guide for Binding KetticTreeView to Database in Windows Forms
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlKeyboard SupportDesign Time SupportBuild PropertyContext MenuTreeView - NodeAdd & Remove NodesReorder NodesFormat NodesEdit NodesSelect NodesFilter NodesCustom Filter NodesSort NodesCustom Sort NodesFind Sort NodesData BindingBasicsDatabaseXML DataDrag and DropCustomizationContext MenuCustomizationAssign ScreenTipLocalizationWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |