TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Riddhi Valecha
443
3.3k
411.1k
Chart Control in VS2010 - X,Y Axis Values- PLZ HELP
Jan 26 2015 6:13 AM
Hi..
I need help in Chart Control.
I have a chart control in VS2010, .net framework 4.0.
My Requirement -
I get values from database in a datatable.
Datatable -
ID
Date
Value
1
1-11-2014
2110
2
15-11-2014
3445
3
12-12-2014
1223
4
30-12-2014
5643
I have taken columns - Date and Value in a list as follows -
List<DateTime> dt= new List<DateTime>(table.Rows.Count);
foreach (DataRow row in table.Rows)
dt.Add((DateTime)row["Date"]);
List<Int32> value = new List<Int32>(table.Rows.Count);
foreach (DataRow row in table.Rows)
value.Add((Int32 )row["Value"]);
------------
My requirement -
I have to put the Date column in X-Axis and Value Column in Y-Axis in the chart control.
And then show that chart on webpage.
How do I do that??
Reply
Answers (
0
)
Asp.net
Membership Provider in asp.net MVC