G
Guest
I am writing a windows application using VS 2005. I have a user control that
returns customer data.
I have placed this customers user control on several forms in my
application. In the OnLoad event of the customers user control I have a data
access function that retrieves data from a database to populate the control.
The problem I have is that having the data access function in the OnLoad
event causes an error in design time for the Parent Forms. I get a "No row
at position 0" error when I try to view the parent form in design view. This
does not affect the ability of the project to build, or run.
Has anyone seen this before?
Thanks in advance for your help.
returns customer data.
I have placed this customers user control on several forms in my
application. In the OnLoad event of the customers user control I have a data
access function that retrieves data from a database to populate the control.
The problem I have is that having the data access function in the OnLoad
event causes an error in design time for the Parent Forms. I get a "No row
at position 0" error when I try to view the parent form in design view. This
does not affect the ability of the project to build, or run.
Has anyone seen this before?
Thanks in advance for your help.