hello my question is about how can i add all the values of textbox in a list.
i write this code but it show me an error
List listgerant = new List();
listgerant.Add(txt_nom_gerant.Text.ToString());
listgerant.Add(txt_prenom_gerant.Text.ToString());
how can i solve that?


Manas MohapatraRank #182 · 13.2K reputationPosted Oct 2, 2015, 8:12 AM EDT
abdelwaheb ammarRank #4,571 · 337 reputationPosted Oct 2, 2015, 8:19 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Oct 2, 2015, 8:26 AM EDT
abdelwaheb ammarRank #4,571 · 337 reputationPosted Oct 2, 2015, 8:28 AM EDT