Click here to Skip to main content
15,881,812 members
Articles / Web Development / ASP.NET

A reporting service using SOAP calls passing XML to a Data Extension

Rate me:
Please Sign up or sign in to vote.
4.00/5 (5 votes)
19 Oct 2005CPOL8 min read 85.4K   406   26  
Demostrates how to render a report by passing XML to a data extension via SOAP calls.
using System;
using Microsoft.ReportingServices.DataProcessing;

namespace CustomDataExtension
{
   public class DataSetParameter : IDataParameter, IDisposable
   {
      string            m_paramName;
      object            m_value;

      public DataSetParameter()
      {
      }

      public DataSetParameter(string parameterName, object value)
      {
         m_paramName = parameterName;
         this.Value = value;   
         // Setting the value also infers the type
      }
      
      public String ParameterName 
      {
         get { return m_paramName; }
         set { m_paramName = value; }
      }

      public object Value 
      {
         get
         {
            return m_value;
         }
         set
         {
            m_value    = value;
         }
	  }
	   #region IDisposable Members

	   public void Dispose()
	   {
		   // TODO:  Add DataSetParameter.Dispose implementation		   
	   }

	   #endregion
   }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) LEN Associates Inc.
United States United States
Years of software consulting and software development using Microsoft development products such as Microsoft Content Management System, SQL Server Reporting Service, ASP.Net C# VB.Net, HTML and javascript web development, Visual Studio add-on development, C++ MFC/ATL and COM+ development, and ActiveX components.

Comments and Discussions