I am doing one project in that i have to show force vs distance graph in zedgraph and data form database table force and distance for ID and show in graph
PointPairList list1 = new PointPairList();
DataTable DT = ObjDBmanager.SelectInDT("select * from Left_Bush");
for (int i = 0; i < DT.Rows.Count ; i++)
x = Convert.ToDouble(DT.Rows[i]["Left_Distance"]);
y = Convert.ToDouble(DT.Rows[i]["Left_Force"]);
CurveItem myCurve = myPanel.AddCurve("Left Bush", list1, Color.Red, SymbolType.Diamond);
i write above code its work if you debug the data one by one but you directly run then they cant show the graph ... so please help me ..