By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Code reuse question

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Cor
Hi Bob,

You did post the exact the same question earlier in this newsgroup

There where 2 answer and one from me, but no reaction from you.

The habbit in this newsgroup is that people answer in the orignal thread of
the answer if it was what they needed or maybe it did give a problem or
maybe misunderstood.

So please have a look at that original question?.

Cor
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.