how to set x and y values for database
i am using asp.net with c#.
i want to create a chart control that takes two values from database. the x axis takes time from data base and the y-axis takes currency from database. on x axis a timer is to set, this timer must take time from data base. please tell me how is it possible. give code if possible.