Solved

Call a dll+C#+window application

Posted on 2011-09-30
5
179 Views
Last Modified: 2012-05-12
Hi All,
i am trying to call a dll,so i have added the reference of the dll to my project then i have calling the form that is involved into the dll and all is worked fine.
but now i am trying to access the SqlTableAdaper that is involved into the form so i set the modifier to" Public" but the problem is as follows:
I cannot find all the properties and method of the SqlTableAdapter why????
I found just the List that you can find it in the attachment file.

regards,
       Image
0
Comment
Question by:MKItani
  • 3
  • 2
5 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 36891925
You may need to add a reference to the System.Data.dll in your current (i.e. non-DLL) project.
0
 

Author Comment

by:MKItani
ID: 36896175
i told you that i can called at run time, so of sure i have added the reference.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 36898145
i told you that i can called at run time, so of sure i have added the reference.
Um, I don't quite understand how calling at run time indicates that you've added a referecne--since it is possible to dynamically load a DLL at runtime, but it sounds like you know what you're talking about. I'm sure you'll have a solution worked out in no time. Good luck  = )
0
 

Accepted Solution

by:
MKItani earned 0 total points
ID: 36902631
the trick is the rest of the properties of sql data adapter are of type internal.
0
 

Author Closing Comment

by:MKItani
ID: 37366442
because i don't get an accurate answer then i get the true answer by testing.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question