B
Bob Dufour
I created a form for enetering values in lookup tables (eg Phone Types) in a
project. The form uses a SQLdataAdapter and works fine in project A.
In another solution - Project B- I want to reuse the same form. It will look
in the same database as it does in project A.
If I go in poroject B an add the form as an existing Item from the folder in
project A as soon as I add the existing item to project B I get 3 errors in
the task lisdt window TypeProjectA.dsPhoneTypes is not defined (I get that
twice) and Oveload resolution failed because no acessible 'Fill' can be
called with these arguments. Evidently the form in project B needs to be
able to refer to the SQL server datasets that were used in project A. But
simply adding these datasets as existing items in project B does not work
either.
Can anyone tell me how I can reuse forms that use SQL data adapters without
having to recreate the form from scratch in each new project?
Thanks for any help.
Bob
project. The form uses a SQLdataAdapter and works fine in project A.
In another solution - Project B- I want to reuse the same form. It will look
in the same database as it does in project A.
If I go in poroject B an add the form as an existing Item from the folder in
project A as soon as I add the existing item to project B I get 3 errors in
the task lisdt window TypeProjectA.dsPhoneTypes is not defined (I get that
twice) and Oveload resolution failed because no acessible 'Fill' can be
called with these arguments. Evidently the form in project B needs to be
able to refer to the SQL server datasets that were used in project A. But
simply adding these datasets as existing items in project B does not work
either.
Can anyone tell me how I can reuse forms that use SQL data adapters without
having to recreate the form from scratch in each new project?
Thanks for any help.
Bob