C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Sharepoint »

0 votes 0answers 1 views how to connect sharepoint content database to my web part applic


Posted Date: 04 Nov 2009      Posted By: Red Swan      Member Level: Gold     Points: 1   Responses: 3



Hi all,
I am developing the web part that will show the chart.but for that MS chart control we need the datasource of sql server.now i have designed some infopath forms & deployed in sharepoint site on my url.what happens the sharepoint created the content database for all forms.I want to show a chart on the basis of the data of these forms. but data is in content database. So i need to fetch the data from sharepoint content database & assign to chart ( with some properties).

Is this possible? how .. please guide me .....





Responses

Author: R.M.Phani Kumar    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Yes...Its possible
Steps to Follow

Step1:

Create a web service to make calls contentDB as you cannot interact with DB directly from a Infopath form

Step2 :

Now Create a rule where you can add the web service method which returns the Data to your rule.

Let me know if you have any issues

Regards
Phani Kumar R M



Author: Red Swan    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi, thanks to immediate reply , but the solution that you sent i am not getting please explain ... it is too urgent for me


Author: Red Swan    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi, thanks to immediate reply , but the solution that you sent i am not getting please explain ... it is too urgent for me.
in fact what i have to write in web service to connect the sharepont content database? Actually i am developing webpart from VS 2008 + c#. Infopath is use for design purpose only.
And what is rule?



Post Reply
You must Sign In to post a response.
Next : Some interview Qs, I need Answers
Previous : How to design form template with the help of MS Excel database?????
Return to Discussion Forum
Post New Message
Category: Sharepoint

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use