• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Call a dll+C#+window application

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
MKItani
Asked:
MKItani
  • 3
  • 2
1 Solution
 
käµfm³d 👽Commented:
You may need to add a reference to the System.Data.dll in your current (i.e. non-DLL) project.
0
 
MKItaniAuthor Commented:
i told you that i can called at run time, so of sure i have added the reference.
0
 
käµfm³d 👽Commented:
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
 
MKItaniAuthor Commented:
the trick is the rest of the properties of sql data adapter are of type internal.
0
 
MKItaniAuthor Commented:
because i don't get an accurate answer then i get the true answer by testing.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now