Solved

Call a dll+C#+window application

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get String split 5 48
Why don't I see this table in EDMX file? 2 23
C# Json POSt to Rest API 4 37
Connection String 16 43
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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

12 Experts available now in Live!

Get 1:1 Help Now