Solved

Call a dll+C#+window application

Posted on 2011-09-30
5
177 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 74

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 74

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now