Dilip Apte

Dilip Apte

  • NA
  • 8
  • 20.7k

Using C# class library in silverlight project

Aug 24 2010 3:41 AM

Hi,
I am new to silverlight and need help in following regards.
I have created a class library in c# which uses System.data.sqlclient namesapce to connect to data and retrive results. I want to use this dll into my silverlight project. I tried to add this dll reference but it gives error saying the dll cannot be added as its not build against silverlight runtime.
I created a silverlight class library but it do not allow sqlclient namespace.
How to resoolve this?
Regards.
Dilip

Answers (2)