Answer the question
In order to leave comments, you need to log in
Why isn't the ListView fully loaded?
I have a ListView in which I load all the headers of the INI file (highlighted in bold).
The composition of the ini file:
[ NAME1 ]
master=blabla
query=blabla
[ NAME2 ]
master=blabla
query=blabla
[ NAME3 ]
master=blabla
query=blabla
I get a list of these headers using the IniFile class , through:
iniFile.GetAllSections();
Well, then I merge all this into a ListView :
IniFile iniFile = new IniFile(@"ini");
string[] vNames = iniFile.GetAllSections();
string val;
int zgl = vNames.Length;
for (int i = 0; i < zgl; I++)
{
val = Convert.ToString(vNames[i]);
ListView.Items.Add(val);
Answer the question
In order to leave comments, you need to log in
In general, I figured it out myself ... the answer lies in the class that receives these sections. There was a character limit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question