VIBlend
// Client Login
Home Products Downloads Purchase Support Forum About


How to bind the DataGridView to a List? 


Article Information 

Article relates to VIBlend DataGridView for WinForms 

How To 

Bind the data grid to a list. 

Solution 

To achieve this, follow these steps:  

1. Create a new instance of the vDataGridView via drag and drop from the toolbox or create it programmatically.  

2. Create a class named Customer  

 

3. In the form's constructor after the InitializeComponent method call or in the form Load event handler use the code snippet below to create a new list and fill it with sample items:  

 

4. Finally, in order to bind the grid to the list, use the code snippet below:  

 



VIBlend Knowledge Base Home
Copyright © 2015 VIBlend  
ALL RIGHTS RESERVED  
 
Terms of Use | Privacy Policy
Silverlight Controls WinForms Controls Knowledge Base About Us
       
Silvelright DataGrid Ribbon Interface Technical Support Blog
Silverlight Editors WinForms DataGrid
Silverlight Ribbon Bar Calendar Downloads Forum
Navigation Bars Navigation Bars    
Menu & ContextMenu TreeView Purchase Online Client Login
ComboBox & ListBox Tab Control    
Silverlight Pivot Table WinForms Pivot Grid Request a feature Report a bug