I created a report with a simple dialog form with a datagrid and a button, and my objective is to populate the datagrid (by bindings) when I press the button.
So:
1) I created a datasource (ConnectOnStart=false) extremely simple (Select ID,Name From Items) without variables/parameters/where conditions (just to keep it simple)
2) I created the dialog with the two components and I set the bindings for the grid
3) In the button click event I inserted:
Code: Select all
this.OrigineDati1.Connect();
If I connect on start the datasource the grid shows records correctly, so I don't think it's a problem with bindings...