Skip to content

This is a type library for reading Sql Server Report Definition Language files, version 2016

License

LGPL-3.0 and 2 other licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Unknown
LICENSE.MD
Notifications You must be signed in to change notification settings

xavierjefferson/Snork.Rdl2016

Snork.Rdl2016

Latest version

This is a type library for reading Sql Server Report Definition Language files, version 2016, from within a .NET Framework application. It is based on Microsoft's RDL XML Schema for Version 2016/01, found here. I've also included that same file here.

Usage

You're going to use this library with standard .NET XML serialization. The root type to read with the serializer is Report. Once you've read the top-level Report object, you'll have access to all the objects in the file.

I only used this to get at the report's parameters before trying to actually generate the report, but this model actually has 248 separate classes, and I'm not guaranteeing that all will work for you.

        Snork.Rdl2016.Report ReadAFile(string rdlFilename)
        {
            var serializer = new System.Xml.Serialization.XmlSerializer(typeof(Report));
            Snork.Rdl2016.Report report;
            using (var stream = System.IO.File.OpenRead(rdlFilename))
            {
                report = (Snork.Rdl2016.Report)serializer.Deserialize(stream);
            }
            return report;
        }

About

This is a type library for reading Sql Server Report Definition Language files, version 2016

Topics

Resources

License

LGPL-3.0 and 2 other licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Unknown
LICENSE.MD

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages