just got after compiling the Source in Visual Studio 2022 this Error.
Any Idea what can i do?
public void ReadXML()
{
if (!File.Exists("files.xml")) { return; } //if not exist return
creatTable();
using (XmlReader reader = XmlReader.Create("files.xml"))
{
reader.ReadToFollowing("critical");
DataRow Row;
do
{
Row = downloads_info.NewRow();
reader.MoveToFirstAttribute();
Row["path"] = reader.GetAttribute("path");
Row["hash"] = reader.GetAttribute("hash");
Row["size"] = reader.GetAttribute("size");
downloads_info.Rows.Add(Row);
} while (reader.ReadToFollowing("critical"));
}
calc_downloads();
}
I´m very new with C Programming and i try to understand the Code…
New contributor
Frank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3