I am currently programming an ASP .NET FormView. The twist here is that I need to manually set the datasource via "FormView.DataSource = ". I added an ItemTemplate and added some form in the form view but even if the line of code that set the datasource view is called and the FormView.DataBind() is called, I still cannot see the data.
I then thought that probably the view is not in the item view or something. So I set the DefaultMode to edit and placed the whole code in the ItemEditTemplate but it still does not display the form when I pass thru the databind.
I know that doing this using the Datasource set in the aspx tags made it worked. But unfortunately my requirements is not to use the DataSource tag in asp .net but to do the binding manually.
Any ideas there or examples how to use FormView on manual databinding?