Asp.net »Í¼(ÌõÐÎͼ¡¢ÕÛÏßͼ¡¢±ýͼ)
ÌõÐÎͼºÍ±ýͼÊǶ¼Òªµ÷ÓÃÊý¾Ý¿â ¶øÕÛÏßͼÔòÊÇÖ±½ÓÏÔʾ²»Óõ÷ÓÃÊý¾Ý¿â
´ò¿ªvs ¹¤¾ß ·Ö±ð´´½¨ÈýÖÐͼÐεÄÀà £¨BarChart¡¢PieChart¡¢zexian£©ChartUtilÀà¿ØÖÆÑÕÉ«
ÔÙ½¨Ò»¸öaspx ÎļþÔÚºóÖÃÎļþÖе÷ÓÃÕâ¸ö¼¸¸öÀàÖеķ½·¨ ±¾ÎÄÕÂÖÐÓе÷ÓÃ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;//ÓÃÓÚÊý¾Ý·ÃÎÊ
using System.Drawing;//Ìṩ»GDI+ͼÐεĻù±¾¹¦ÄÜ
using System.Drawing.Text;//Ìṩ»GDI+ͼÐεĸ߼¶¹¦ÄÜ
using System.Drawing.Drawing2D;//Ìṩ»¸ß¼¶¶þά£¬Ê¸Á¿Í¼Ðι¦ÄÜ
using System.Drawing.Imaging;
using System.IO;//Ìṩ»GDI+ͼÐεĸ߼¶¹¦ÄÜ
namespace Insight_cs.WebCharts
{
public class BarChart
{
public BarChart()
{
}
public void Render(string title, string subTitle, int width, int height, DataSet chartData, Stream target)
{
const int SIDE_LENGTH = 400;
const int CHART_TOP = 75;
const int CHART_HEIGHT = 200;
const int CHART_LEFT = 50;
const int CHART_WIDTH = 300;
DataTable dt = chartData.Tables[0];
//¼ÆËã×î¸ßµÄµã
float highPoint = 0; //yÖá×î¸ßµã
foreach (DataRow dr in dt.Rows)
{
 
Ïà¹ØÎĵµ£º
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
¡¡¡¡´«ËͲÎÊý£º
response.write("£¼script£¾window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)£¼/script£¾")
¡¡¡¡½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
¡¡¡¡2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1 ......
Public DataTable GetDataTablefromExcel(string fileName,string tableName )
{
string connStr = "Provider=Microsoft.ACE.OLEDB.12.0; Persist Security Info=False;Extended Properties=Excel 8.0; data source=Îļþ·¾¶"
string sql = "SELECT * from [" + tableName + "]";
OleDbConnection conn = ne ......
¡¡MVCϵͳÖеÄÄ£ÐÍ´Ó¸ÅÄîÉÏ¿ÉÒÔ·ÖΪÁ½Àà¨D¨DϵͳµÄÄÚ²¿×´Ì¬ºÍ¸Ä±äϵͳ״̬µÄ¶¯×÷¡£Ä£ÐÍÊÇÄãËùÓеÄÉÌÒµÂß¼´úÂëƬ¶ÎËùÔÚ¡£±¾ÎÄΪģÐÍÌṩÁËÒµÎñʵÌå¶ÔÏó
ºÍÒµÎñ´¦Àí¶ÔÏó£ºËùÓеÄÒµÎñ´¦Àí¶ÔÏó¶¼ÊÇ´ÓProcessBaseÀàÅÉÉúµÄ×ÓÀà¡£ÒµÎñ´¦Àí¶ÔÏó·â×°Á˾ßÌåµÄ´¦ÀíÂß¼£¬µ÷ÓÃÒµÎñÂ߼ģÐÍ£¬²¢ÇÒ°ÑÏìÓ¦Ìá½»µ½
ºÏÊʵÄÊÓͼ×é¼þÒÔ²úÉúÏì ......
ÏÈÉý¼¶ieµ½5.5°æÒÔÉÏ
1 ÏÂÔØÖÐÎÄ°æIE6:http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/CN/ie6setup.exe
2 ÏÂÔØmdac°²×° Ö±½ÓÏÂÔØ2.8ÖÐÎÄ°æ:http://download.microsoft.com/download/8/b/6/8b6198c0-fe96-4811-9d81-
d5c76dd5fea8/MDAC_TYP.EXE
3 È»ºóÏÂÔØ.NET Framework 1.1°æ¿ÉÔ ......
ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
......