Never tried populating it programmatically but you can look at this MSDN article that explains how to use this control behind code, you might have to navigate through to find what you actually want.
More hints:
If you want to bind it you can use DataBind method
Hope it helps :)