第一章:fusionChart v3 给初学者看的例子。
给初学者看的例子。
新建数据库:
use master
go
if exists(select * from sysdatabases where name='Testfc3')
drop database Testfc3
go
create database Testfc3
on
(
name='Testfc3_data',
filename='c:\Testfc3_data.mdf',
size=10mb,
filegrowth=20%
)
log on
(
name='Testfc3_log',
filename='c:\Testfc3_log.ldf',
size=3mb,
filegrowth=20%
)
go
use Testfc3
go
if exists(select * from sysobjects where name='SaleCount')
drop table SaleCount
go
create table SaleCount
(
id int identity(1,1) primary key not null,
username nvarchar(50) null,
number int null
)
go
--** 插入数据 *************
insert into SaleCount(username,number) values('刘康1',12)
insert into SaleCount(username,number) values('刘康2',24)
insert into SaleCount(username,number) values('刘康3',36)
insert into SaleCount(username,number) values('刘康4',59)
insert into SaleCount(username,number) values('刘康5',91)
insert into SaleCount(username,number) values('刘康6',10)
insert into SaleCount(username,number) values('刘康7',75)
insert into SaleCount(username,number) values('刘康8',38)
insert into SaleCount(username,number) values('刘康9',102)
insert into SaleCount(username,number) values('刘康10',63)
代码15MB,没上传成功。图片如下:
fusionChart的例子:http://www.cnblogs.com/emmy/archive/2010/11/03/1868054.html