资源简介
微软 charp aspnet chart控件 全部实例
代码片段和文件信息
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.xml;
namespace System.Web.UI.DataVisualization.Charting.Samples
{
///
/// Summary description for Content.
///
public partial class Content : System.Web.UI.Page
{
//ANSEController - contains the xml information about the samples and TOC
ANSEController controller;
///
/// Roots the request to the appriopriate rendering function based off of the given
/// query string (Content=??? Topic=??? or Overview=???)
///
///
///
private void Page_Load(object sender System.EventArgs e)
{
Response.BufferOutput = false;
//load in the session instance of the ANSEController if one does not
//exist then redirect to the index page
if(this.Session[“ANSEController“] == null )
{
controller = new ANSEController();
controller.Init(this.Server.MapPath(“.“));
this.Session[“ANSEController“] = controller;
if(this.Session[“ANSEController“] == null )
{
Response.Write(“Failed to read ASP.NET session variable.“);
}
}
controller = (ANSEController)Session[“ANSEController“];
// if a sample was specified in the query string then create a frame with
// the sample in the top and the ‘InfoPages‘ in the bottom
if(Request.QueryString[“Sample“] != null)
{
ShowSample( Request.QueryString[“Sample“] );
}
// if a Topic was specified in the query string then create a page that
// shows the thumbnails and description of each child sample within that topic
else if(Request.QueryString[“Topic“] != null)
{
ShowTopic( Request.QueryString[“Topic“] );
}
//if a Content page was specified then show that page
else if(Request.QueryString[“Content“] != null)
{
ShowContent(Request.QueryString[“Content“] );
}
//show content using sequence ID
else if(Request.QueryString[“SampleSequenceID“] != null)
{
string newSequenceId = string.Empty;
string id = controller.GetSampleIDFromSequenceID(Request.QueryString[“SampleSequenceID“] ref newSequenceId);
ShowSample( id newSequenceId );
}
//if nothing was specified to be shown then show a default screen
else
{
ShowDefault();
}
}
///
/// This function is called when there is a ‘Sample=xxx‘ in the query string
/// where xxx is the url to the sample.
/// The funtion will then retrieve the sample‘s configuration xml data from
/// the ANSEController instance by its ID. Next it will create a frameset and
/// sample pages based off of the configuration data
///
/// ID of the sample as sp
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 407 2009-08-05 11:49 WebSamples\ansest
文件 7055 2010-01-19 09:35 WebSamples\Appearance\3D Perspectives\3dperspectives.aspx
文件 2061 2009-08-05 11:49 WebSamples\Appearance\3D Perspectives\3DPerspectives.aspx.cs
文件 491 2009-08-05 11:49 WebSamples\Appearance\3D Perspectives\cscode.txt
文件 546 2009-08-05 11:49 WebSamples\Appearance\3D Perspectives\sampleConfig.xm
文件 536 2009-08-05 11:49 WebSamples\Appearance\3D Perspectives\vbcode.txt
文件 5810 2010-01-19 09:35 WebSamples\Appearance\AntiAliasingSample\antialiasingsample.aspx
文件 1999 2009-08-05 11:49 WebSamples\Appearance\AntiAliasingSample\AntiAliasingSample.aspx.cs
文件 264 2009-08-05 11:49 WebSamples\Appearance\AntiAliasingSample\cscode.txt
文件 609 2009-08-05 11:49 WebSamples\Appearance\AntiAliasingSample\sampleConfig.xm
文件 322 2009-08-05 11:49 WebSamples\Appearance\AntiAliasingSample\vbcode.txt
文件 8190 2010-01-19 10:24 WebSamples\Appearance\Appearance\chartappearance.aspx
文件 4573 2009-08-05 11:49 WebSamples\Appearance\Appearance\ChartAppearance.aspx.cs
文件 989 2009-08-05 11:49 WebSamples\Appearance\Appearance\cscode.txt
文件 732 2009-08-05 11:49 WebSamples\Appearance\Appearance\Flag.gif
文件 547 2009-08-05 11:49 WebSamples\Appearance\Appearance\sampleConfig.xm
文件 1043 2010-01-19 09:35 WebSamples\Appearance\Appearance\vbcode.txt
文件 6937 2010-01-19 09:35 WebSamples\Appearance\Borders\borders.aspx
文件 4859 2009-08-05 11:49 WebSamples\Appearance\Borders\Borders.aspx.cs
文件 819 2009-08-05 11:49 WebSamples\Appearance\Borders\cscode.txt
文件 514 2009-08-05 11:49 WebSamples\Appearance\Borders\sampleConfig.xm
文件 877 2009-08-05 11:49 WebSamples\Appearance\Borders\vbcode.txt
文件 144 2009-08-05 11:49 WebSamples\Appearance\TOCNodes.xm
文件 519 2009-08-05 11:49 WebSamples\Appearance\UsingGaps3D\cscode.txt
文件 581 2009-08-05 11:49 WebSamples\Appearance\UsingGaps3D\sampleConfig.xm
文件 6304 2010-01-19 09:35 WebSamples\Appearance\UsingGaps3D\usinggaps3d.aspx
文件 1560 2009-08-05 11:49 WebSamples\Appearance\UsingGaps3D\UsingGaps3D.aspx.cs
文件 569 2009-08-05 11:49 WebSamples\Appearance\UsingGaps3D\vbcode.txt
文件 31744 2009-08-05 11:49 WebSamples\App_Code\ANSEController.cs
文件 25223 2009-08-05 11:49 WebSamples\App_Code\ColorSyntax.cs
............此处省略1530个文件信息
相关资源
- DotNetChartingZedGraphMSChart折线图,柱状图
- 图形控件ZedGraph使用傻瓜教程
- DevExpress9.2完整版
- C# Winform 视频流添加透明控件
- CefSharp 49.0.0.1 C#中的Google浏览器控件
- C# 高仿控件,几十个
- C#与halcon窗体控件交互
- Visifire破解版
- webkit.net 0.5版c#和winform嵌入chrome核心浏
- MahApps.Metro源码WPF开源控件库
- DevExpress winform XtraEditor常用控件
- WPF C1Chart Demo
- c#在pictureBox控件上绘制矩形框,鼠标
- Dev WinForm通用控件导出Excel方法(支持
- FastReport.net 破解版含DEMO
- C#基于MVC+EasyUI+ECharts后台管理系统完整
- VisualC#2008控件使用范例详解--PDF+源码
- 免费DataGridView打印及.NET轻松打印控件
- C#自定义控件之-winform美化
- Halcon与C#混合窗体控件源代码
- GeckoFx 最新版本 完美支持HTML5 C# demo
- devexpress控件说明大全
- C#基于MVC+EasyUI+ECharts后台管理系统完整
- Winform开发全套31个UI组件开源共享]
- 免费DataGridView打印及.NET轻松打印控件
- VS C# 中 仿Office界面风格控件,很漂亮
- DevExpress控件说明中文版-WinForm
- FlowChart.NET 工作流控件
- c#winform中完美代替WebBrowser最新的控件
- 最新 Ext甘特图控件 + Ext日程控件 破解
评论
共有 条评论