This project is read-only.

How to bind a SourceGrid.Grid with a datasource

Apr 21, 2009 at 1:22 AM
Hi Everybody I have a SourceGrid.Grid what i want to add a datasource and i dont know how to do it

In a SourceGrid.DataGrid  i can associate a DataView with the DataGrid with the next code:

DataGrid.DataSource = BindObject

What i want to do is something like that but with a SourceGrid.Grid , i have not found a way to make it

if someome can help me please asnwer me

Thanks anyway
Apr 21, 2009 at 6:01 PM
AFAIK, Grid is not intended to support databinding.

What i would do is just simple loop through all your data source and create the cells manually.
Apr 21, 2009 at 8:12 PM
Thanks this it what i going to do