If you use the ItemCreated or ItemDataBound event, you can access each row, which you can provide the properties in the row. The following code would be in one of these events:
[code]
private sub datagrid1_ItemCreated(..)
'Get the data somehow
MyControl myCtl = (MyControl)e.Item.Cells(<index>).FindControl("myCt l");
myCtl.property1 = ds.tables[0].rows[i].item["Column1Name"];
end sub
|