Answer the question
In order to leave comments, you need to log in
Why is only the last element in the loop displayed?
There is a code for obtaining information about a WIM file (I give a piece of work with a cycle) using the DISM API in a cycle and writing information to the DataGridView:
foreach(DismImageInfo imageInfo in imageInfos)
{
int i = 0;
windows_images.Rows.Add();
windows_images.Rows[i].Cells[0].Value = imageInfo.ImageIndex.ToString();
windows_images.Rows[i].Cells[1].Value = imageInfo.ImageName.ToString();
++i;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question