Giter Site home page Giter Site logo

devexpress-examples / web-dashboard-custom-storage Goto Github PK

View Code? Open in Web Editor NEW
1.0 55.0 1.0 445 KB

This example shows how to create a custom dashboard storage to load and save dashboards in a database.

License: Other

C# 69.99% ASP.NET 6.83% TSQL 10.85% Visual Basic .NET 12.33%
dotnet web-forms-dashboard business-intelligence analytics asp-net-web-forms web-dashboard dashboard-for-web-forms database

web-dashboard-custom-storage's Introduction

Dashboard for Web Forms - How to Load and Save Dashboards from/to a Database

This example shows how to create custom dashboard storage in an ASP.NET Web Forms application and to store dashboards in a database. To create custom dashboard storage, implement IDashboardStorage or IEditableDashboardStorage.

The example uses the System.Data.SqlClient members to connect and manage an MS SQL server database.

This example also contains an SQL file (SavedDashboards.sql). You can use it to recreate a database on your side. Do not forget to update the connection string in the Web.config file to make it valid in your environment.

The following API is used in the example:

  • LoadDashboard 

    Loads a dashboard with the specified ID in XDocument format from storage.

  • GetAvailableDashboardsInfo 

    Returns a list of IDs and Captions of dashboards available in the data storage.

  • SaveDashboard 

    Saves the specified dashboard with new settings to the dashboard storage.

  • AddDashboard

    Saves a dashboard definition and its caption to the data storage and returns the ID of the new saved dashboard.

Files to Review

Documentation

More Examples

web-dashboard-custom-storage's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

packfan2019

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.