I'm having a spgridview in a visual webpart. The datasource of this gridview is written in the ascx-file and has a selectmethod in codebehind.
The problem is that while the datasource does it'S databinding all properties in the webpart are emtpy or zero but were filled before. Additionally to this when i set a property while databinding the property is emtpy or zero after databinding.
How can I access the properties while databindig?