hai..friend today i am going to explain how to work with asp.net chart control using c# ..
By using chart control we can display data in dynamic way Which is present in database.
Step 1 :By I Had created database with following tables :
Step 2 :I have enter the field with following data :
Step 3: Now i haven RegisterPage.aspx & used grid view control to display the database data..
Step 4:Now i have taken Chart Control To display the data in dynamically that is in the form column,pie,stock,Area,Bubble,bar And Many more....
Drag and Drop chart control in aspx Page ..you will get the following code
Chat is displayed in the following Way
Choose Data Source For chart Control From Sql Database Click Next
Next Connect To New Connection -->Connect to the database using database mode connection
you will get the picture Click On Next For save connection String Name as "myworldConnectionString2".
Next Step:
In this Step I will check weather to choose all the field in the table or any one...In my project I select All the Feilds using * in the Picture Click Next On it The query will be Displayed
Next Step:
Test The Query ,You will Find the Output from the database table records..click On Finish
Next Step:
By using chart control we can display data in dynamic way Which is present in database.
Step 1 :By I Had created database with following tables :
Step 2 :I have enter the field with following data :
Step 3: Now i haven RegisterPage.aspx & used grid view control to display the database data..
Step 4:Now i have taken Chart Control To display the data in dynamically that is in the form column,pie,stock,Area,Bubble,bar And Many more....
Drag and Drop chart control in aspx Page ..you will get the following code
Chat is displayed in the following Way
Choose Data Source For chart Control From Sql Database Click Next
Next Connect To New Connection -->Connect to the database using database mode connection
you will get the picture Click On Next For save connection String Name as "myworldConnectionString2".
Next Step:
In this Step I will check weather to choose all the field in the table or any one...In my project I select All the Feilds using * in the Picture Click Next On it The query will be Displayed
Next Step:
Test The Query ,You will Find the Output from the database table records..click On Finish
Next Step:
0 comments:
Post a Comment