Click here to Skip to main content
12,501,207 members (37,952 online)
Click here to Skip to main content

Stats

91.3K views
7K downloads
107 bookmarked
Posted

Dashboards Are For Driving

, 14 Sep 2008 CPOL
Dashboards are immensely useful not only for business data but also for business applications, but only if they display metrics that can be used to "drive" (or "steer") in real-time.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DashboardDemo
{
    public partial class DetailGridForm : Form
    {
        public DetailGridForm()
        {
            InitializeComponent();
        }

        private void DetailGridForm_Load(object sender, EventArgs e)
        {
            this.dataGridView1.Rows.Add(new object[] { "West Westchester", "400 MW", "2.3%" });
            this.dataGridView1.Rows.Add(new object[] { "South Southampton", "250 MW", "-8.1%" });
            this.dataGridView1.Rows.Add(new object[] { "Lower Upperton", "100 MW", "-4.2%" });
            this.dataGridView1.Rows.Add(new object[] { "Upper Casington", "100 MW", "52.7%" });
        }
    }
}

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)

Share

About the Author

Steven A. Lowe
Technical Lead ThoughtWorks
United States United States
Steven A. Lowe is a consultant, software developer, inventor, entrepreneur, author, musician, and lover of puns. He ran an innovative custom software development company for nearly a decade before joining ThoughtWorks as a Principal Consultant in 2014. He admits to being the author of "From Burnout to Bonfire" and a willing participant in the band Noise in the Basement, but neither confirms nor denies being the science-fiction author Steven Ayel.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160919.1 | Last Updated 14 Sep 2008
Article Copyright 2008 by Steven A. Lowe
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid