Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Anyone developed webparts using Connection object

  Asked By: Pauline Kent         Date: Feb 16, 2010      Category: Sharepoint      Views: 225
 

I am trying to develop the customized webpart for SPS v2. When i use Connection
object which is part of ADODB, and deploy the webpart SPS throwing the error.
Same thing I used in c# web application, it is working fine.

My questions are:
a) Do we have to place ADODB.dll library in particular folder
b) how we can mention about the DataSource and user id and Password?. In
standard web application i am using
ADOMD.Cellset cellSet = new ADOMD.Cellset();
ADODB.Connection cn = new ADODB.ConnectionClass();
cn.Open("Provider=msolap;Data Source=localhost;Initial Catalog=Foodmart
2000","","",0);


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:            

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Anyone developed webparts using Connection object Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].