Thank you so much ! love you in the future of countinue it - you can show how to learn machine to detect own picture for example detect logo fox learn on pictures :) You forgot about that :(
Hello i need help how to released memory after form closed c# i want released the memory winch allocated by form can you make one video on that thanks in Advance
@@foxlearn This is my pastebin code- pastebin.com/8EA1HaRR. So the program is simple I have created 3 texboxes - textBoxUsFb I read the password, textBoxPssMailF I read the email, if you login successfully in textBoxPasFB appears a short string from my database.I run the form without problems but when I click the button, a error box appears and shows- Unclosed quotation mark after the character string " . I choose to ask you because I learn from your channel, the best channel ever, and I know you understand what you create. It is not important but if you have time please help. I have searched in a lot of forums but I can find nothing :(. Thanks in advance!
@@bojidarkamenski3432 You are missing a quote after password = SqlCommand cmd = newSqlCommand("SELECT * FROM tbl_Login WHERE Password = ' "+ int.Parse(textBoxUsFb.Text) + "'", con2);
Not Working Man I Dont Know Why SeriesCollection Series = new SeriesCollection(); foreach (var obj in data.Revenue) Series.Add(new PieSeries() { Title = obj.Year.ToString(), Values = new ChartValues { obj.Earning }, DataLabels = true, LabelPoint = labelPoint });
pieChart1.Series = Series; I Am having error In data.Revenue in foreach
You put " { obj.Earning }" When it should be { obj.Total } Assuming you followed the tutorial when he created a Column named 'Total' after the primary key 'Year'
using LiveCharts; using LiveCharts.Wpf; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace live_chart { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Func labelPoint = chartpoint => string.Format("{0} ({1:P})", chartpoint.Y, chartpoint.Participation); private void pieChart1_ChildChanged(object sender, System.Windows.Forms.Integration.ChildChangedEventArgs e) { // This event can be used for handling changes in the chart's child elements if needed } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { // This event can be used for handling cell content click events in the DataGridView if needed } private void button1_Click(object sender, EventArgs e) { SeriesCollection series = new SeriesCollection(); // Assuming data.Revenue is a collection of objects with Year and Total properties foreach (var obj in data.Revenue) { // Convert obj.Total to int before adding it to the chart values int totalValue; if (int.TryParse(obj.Total, out totalValue)) { series.Add(new PieSeries { Title = obj.Year.ToString(), Values = new ChartValues { totalValue }, DataLabels = true, LabelPoint = labelPoint }); } else { // Handle the case where obj.Total is not a valid integer MessageBox.Show($"Invalid total value: {obj.Total}"); } } pieChart1.Series = series; } private void Form1_Load(object sender, EventArgs e) { pieChart1.LegendLocation = LegendLocation.Bottom; } } } use this code
Keep it up FoxLearn.Thank you for this video.
You're welcome. Thank you !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
again check your dataset name@@WILLFACTOR11
Good to learn C#. Need how to code data in dgv and based on dgv, how to populate chart using Tabs control.
foreach (var obj in data.Product)
my data is underlined red, any reasons why
foreach (var obj in data.Product)
my data is underlined red, any reasons why
what do i change if i want to display text in the first column and int values in the second column???
Thank you so much ! love you in the future of countinue it - you can show how to learn machine to detect own picture for example detect logo fox learn on pictures :) You forgot about that :(
I'll try to research it. Thank you !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Is visual studio 2012 can use and download live chart? Because i cant download on it
You can download it directly from the nuget.org instead of Manage Nuget Packages
foreach (var obj in data.Product)
my data is underlined red, any reasons why
plss show how to use other charts, like cartesian
OK. Thank you for your suggestion. Let me try to research !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Hello
i need help
how to released memory after form closed c#
i want released the memory winch allocated by form can you make one video on that
thanks in Advance
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Again nice video!!!! Congrats for your work!
Can you help with this problem: Unclosed quotation mark after the character string "
Can you post the line error. thank you !
@@foxlearn This is my pastebin code- pastebin.com/8EA1HaRR. So the program is simple I have created 3 texboxes - textBoxUsFb I read the password, textBoxPssMailF I read the email, if you login successfully in textBoxPasFB appears a short string from my database.I run the form without problems but when I click the button, a error box appears and shows- Unclosed quotation mark after the character string " . I choose to ask you because I learn from your channel, the best channel ever, and I know you understand what you create. It is not important but if you have time please help. I have searched in a lot of forums but I can find nothing :(. Thanks in advance!
@@bojidarkamenski3432 You are missing a quote after password =
SqlCommand cmd = newSqlCommand("SELECT * FROM tbl_Login WHERE Password = ' "+ int.Parse(textBoxUsFb.Text) + "'", con2);
Ohh my.... I have not seen it, thank you very much! Thank you! Thank you! I wish you happy new year, if it is not late! 😃
foreach (var obj in data.Product)
my data is underlined red, any reasons why
My Chart is black on execution but the information will loaded, how a fix that.
What error are you getting?
Not Working Man I Dont Know Why
SeriesCollection Series = new SeriesCollection();
foreach (var obj in data.Revenue)
Series.Add(new PieSeries() { Title = obj.Year.ToString(), Values = new ChartValues { obj.Earning }, DataLabels = true, LabelPoint = labelPoint });
pieChart1.Series = Series;
I Am having error In data.Revenue in foreach
I think you miss something. please check your code again. thank you !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
You put " { obj.Earning }"
When it should be { obj.Total }
Assuming you followed the tutorial when he created a Column named 'Total' after the primary key 'Year'
Could You make tutorial how to make combobox in listview?
OK. Thank you for your suggestion
@@foxlearn 😀
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Watching it in 2019 👍👍
Thank you !
Can you make a Video About how to Code a simple teamspeak 3 Client?
OK. Let me try to research !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Many thanks
You're welcome. Thank you !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Can't learn with music in the background. It's a bad combination trying to listen to the presenter and having music at the same time.
please make video about Chatbot in Asp.NET pleaaaaase
OK. Thank you for your suggestion. I'll try to research
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Pretty fucking cool
Thank you !
niicee
Thank you so much !
foreach (var obj in data.Product)
my data is underlined red, any reasons why
Thx
Thank you !
using LiveCharts;
using LiveCharts.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace live_chart
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
Func labelPoint = chartpoint => string.Format("{0} ({1:P})", chartpoint.Y, chartpoint.Participation);
private void pieChart1_ChildChanged(object sender, System.Windows.Forms.Integration.ChildChangedEventArgs e)
{
// This event can be used for handling changes in the chart's child elements if needed
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
// This event can be used for handling cell content click events in the DataGridView if needed
}
private void button1_Click(object sender, EventArgs e)
{
SeriesCollection series = new SeriesCollection();
// Assuming data.Revenue is a collection of objects with Year and Total properties
foreach (var obj in data.Revenue)
{
// Convert obj.Total to int before adding it to the chart values
int totalValue;
if (int.TryParse(obj.Total, out totalValue))
{
series.Add(new PieSeries
{
Title = obj.Year.ToString(),
Values = new ChartValues { totalValue },
DataLabels = true,
LabelPoint = labelPoint
});
}
else
{
// Handle the case where obj.Total is not a valid integer
MessageBox.Show($"Invalid total value: {obj.Total}");
}
}
pieChart1.Series = series;
}
private void Form1_Load(object sender, EventArgs e)
{
pieChart1.LegendLocation = LegendLocation.Bottom;
}
}
}
use this code