This is my connection String
<connectionstrings>
<add name="ConnectionString" connectionstring="Data Source=.\SQLEXPRESS;AttachDbFilename=<br mode=" hold=" /> |DataDirectory|\FusionChartsDB.mdf;Integrated Security=True;User Instance=True">
<providerName="System.Data.SqlClient" />
</add>
</connectionstrings>
and my Database is located at my SQL Server management studio r2,
and the database is in DBfolder from Server explorer
My Deafult.cs
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;
namespace InfoSoftGlobal.BluePrintApp.FC_ASP
{
///
/// Summary description for _default.
///
public class _default : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if ((Request.Form["Header1:animate"] == null ||
Request.Form["Header1:animate"].ToString().Length == 0) &&
Session["animation"] == null)
Session["animation"] = "1";
else if (Request.Form["Header1:animate"] != null)
Session["animation"] = Request.Form["Header1:animate"].ToString();
((UserControls.header)this.FindControl("Header1")).ShowSelection();
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
}
Im using the Fusioncharts Sample code and it said that
FusionCharts Blueprint Application - C# (ASP.NET) + MS Access / SQL version
==================================================================
This demo application shows the capabilities of FusionCharts by integrating
it with C# (ASP.NET) and Access/SQL. The databases are contained in FusionChartsDB folder.
You'll find the Access MDB file and the SQL Database generation script.
Based on what you intend to use, change the data connection string in Web.config.
After that, run App/Default.aspx to view the application. Make sure you copy
all the files from App folder, keeping the folder structure intact.
PLEASE NOTE THAT THIS DEMO APPLICATION JUST USES A HANDFUL OF CHARTS
FROM FUSIONCHARTS SUITE FOR DEMO PURPOSE. FUSIONCHARTS OFFERS A LOT
MORE VARIETY OF CHARTS, WHICH IS PRESENT IN EVALUATION DOWNLOAD.
Troubleshooting
==================================================================
If for some reason, you do not see the charts, make sure you've
Adobe Flash Player 8 (or above) installed on your machine.
Support Information
==================================================================
Website: http://www.InfoSoftGlobal.com/FusionCharts
Email: support@infosoftglobal.com
Im New to Asp.net