C#C
C#3y ago
PatrickG

❔ Binding a list<tuple<string,bool> to a form with switches in asp.net

does anyone know how I can send a list of tuple string bool to a
mvc page and display a checkbox in a form that has the string as the name and the bool as the checked or not
i am able to display the switches but I have no idea how to make the submit work ive asked chat gpt and tried everything it keeps returning null. in asp.net 5 mvc btw
Was this page helpful?