I have a List<string> called DataOutput, which I obtained from converting a char array. (I know that it works as i have been able to write it to the output window.) I am trying to display it in a DataGrid either by binding in xaml or through the xaml.cs file.
1. how do i go about this?
I have a good working solution to get items from one listbox to another listbox and back.
The listbox is filled by a list. Next step is to save the custom template from both listboxes.
I tried to do this with Properties.Setting.Default to save the listboxes. But when i can't find a way...
Good Day, I Have A List<string> Saved In My App User Settings, this List is supposed to save the file paths of a openfiledialog to then deserialize it, but I already Called the method Save(); And even the method Upgrade(); After adding the strings to the list, but this strings, doesn´t save. Why?
I'm currently trying to create a user control, where one of the properties is a list of an MenuItem class. Here's the code I have so far:
private List<MenuItem> menuItems = new List<MenuItem>();
public List<MenuItem> MenuItems
I have a data string that I put into a list. When I start iterating through the list, I have an if statement that when x.Contains(g), do this. The code that I wrote is..
string g = "<a class=";
List<string> K = new List<string>();
foreach (var x in myList)
i?m trying to bind a list to a datagridview. i do that:
public void seedatagrid(List<myClass> liste2)
and the datagridview has the data, but it doesn?t show anything.
could you help me?? how can i resolve the problem?? thank you