使用实例:
private DataTable dt = new DataTable();
private string urlPath = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
dt = new DataTable();
dt.Columns.Add("UserName");
dt.Columns.Add("UserAge");
dt.Columns.Add("UserSex");
dt.Columns.Add("UserSite");
DataRow dr = dt.NewRow();
dr["UserName"] = "郑德才";
dr["UserAge"] = "27";
dr["UserSex"] = "男";
dr["UserSite"] = "http://www.zhengdecai.com";
dt.Rows.Add(dr);
dr = dt.NewRow();
dr["UserName"] = "旺旺";
dr["UserAge"] = "29";
dr["UserSex"] = "女";
dr["UserSite"] = "http://www.zhengdecai.cn";
dt.Rows.Add(dr);
dv = new DataView(dt);
urlPath = Server.MapPath("~/file/");
oWCChartInfo();
}
}
/// <summary>
/// 图标生成
/// </summary>