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
Subin Thomas
NA
4.9k
126k
pie chart is not visible
Mar 11 2019 12:15 AM
i have code for a pie chart but ehn i run i cant see the pie chartit showig white box when i drag the pie chart area the code is below plz help me
"Chart1"
runat=
"server"
ImageType=
"Jpeg"
>
"Series1"
ChartType=
"Pie"
IsValueShownAsLabel=
"True"
>
"ChartArea1"
>
"True"
LightStyle=
"Realistic"
/>
and the code behind is :
SqlConnection con =
new
SqlConnection(ppd);
SqlCommand cmd =
new
SqlCommand(
"Some query
, con);
cmd.Parameters.AddWithValue(
"@userid"
, output);
Series series = Chart1.Series[
"Series1"
];
con.Open();
SqlDataReader rdr = cmd.ExecuteReader();
while
(rdr.Read())
{
series.Points.AddXY(rdr[
"schemeid"
].ToString(), rdr[
"scheme"
]);
}
Reply
Answers (
4
)
LINQ Query Where Clause when join two tables
How to use Linkbutton control to download the document ?