0
I have a project where by clicking a button I intend to pick up the text of 3 TextBox
and add them to a CheckBox
.
So far so good, the problem arises when I want to add these CheckBox
automatic, for the user to add more lines.
I have here an example of what he will introduce in a TextBox
:
CheckBoxLinhas.Text = "Quantidade: " + TextBoxQuantidade.Text + " Artigo: " + TextBoxArtigo.Text + " Valor: " + TextBoxValor.Text;
How then can I create the CheckBoxes
automatic?
as well as automatic?
– Rafael Ferreira
@Rafaelferreira by code, by clicking the button he creates a Chechbox in Webform
– Kawaii
You just need to add a method to create this checkbox to the event.
– Rafael Ferreira