protected void Page_Load(object sender, EventArgs e) { RunTimeDSTableAdapters.tbl_runtime_reportTableAdapter state; state = new RunTimeDSTableAdapters.tbl_runtime_reportTableAdapter(); DataSet ds = new DataSet(); ds = state.GetDummyChart(); // error popup here DataView source = new DataView(ds.Tables[0]); Chart1.DataSource = source; Chart1.Series[0].XValueMember = "Mains_Run_Hrs"; Chart1.Series[0].XValueMember = "DG_Run_Auto_Mode"; Chart1.Series[0].XValueMember = "Battery_Run_Hrs"; Chart1.Series[0].XValueMember = "Solar_Run_hrs"; Chart1.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)