This used to happen in VS2002 and is still happening in VS2003.
If I add a new dataadapter to my form, configure, generate then preview all works well.
When I then call the .Fill method when the form opens I get an error message stating the SelectCommand property is not set before calling fill.
I have found that to solve this I need to locate all the dataadapter related code generated by windows and manually cut and paste it further up in the windows code. Upon doing this everything works fine?
Queation is, does anyone know why this should be so??
If I add a new dataadapter to my form, configure, generate then preview all works well.
When I then call the .Fill method when the form opens I get an error message stating the SelectCommand property is not set before calling fill.
I have found that to solve this I need to locate all the dataadapter related code generated by windows and manually cut and paste it further up in the windows code. Upon doing this everything works fine?
Queation is, does anyone know why this should be so??