B
barryfz
I am working with the new datasource component which I guess is a
replacement for the dataadapter/dataset cmoponents. I guess it is cool that
I can hook these up without writing any code behind now (does anybody in
asp.net use the vs studio gui for anything but a notepad substititue, all i
see in post after post is a lot of asp code, i thought the idea of vs.net
was to eliminate the need for coding this stuff, but that is another rant).
Anyway I get data and I bind it to different things, I can hook parameters
to various things. All very cool. But how do I control these things. They
always load data. I don't necessarily want them to load data all the time.
I may have user controls or panels that are not visible/enabled at times and
I don't need the data loaded for them. There doesn't seems to ben an
enable/disable structure.
How do I stop them from loading when I don't need the data? Am I supposed
to code many look alike pages now that only have datasources that all need
to be loaded? I seem to be missing something here.
replacement for the dataadapter/dataset cmoponents. I guess it is cool that
I can hook these up without writing any code behind now (does anybody in
asp.net use the vs studio gui for anything but a notepad substititue, all i
see in post after post is a lot of asp code, i thought the idea of vs.net
was to eliminate the need for coding this stuff, but that is another rant).
Anyway I get data and I bind it to different things, I can hook parameters
to various things. All very cool. But how do I control these things. They
always load data. I don't necessarily want them to load data all the time.
I may have user controls or panels that are not visible/enabled at times and
I don't need the data loaded for them. There doesn't seems to ben an
enable/disable structure.
How do I stop them from loading when I don't need the data? Am I supposed
to code many look alike pages now that only have datasources that all need
to be loaded? I seem to be missing something here.