Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'some code
Dim MyButton As New Button()
With MyButton
.Location = New Point(12, 12)
.Size = New Size(75, 30)
.TabIndex = 0
.Text = TextBox1.Text...
I have search internet for quit a while, but can't find the solution for my coding.
What I want to do is I first add 3 buttons on the form with coding. If I press the first button, all the 3 buttons will be removed and another 3 new buttons will be added:
Here is my code, I don't know where do...
Hello Everyone,
I am new to asp.net and i had created a form with a button, which create a new button dynamically, i bind that button with an event but when i press newly created button it again got deleted and no response from it. Here is the coding.
Protected Sub Button1_Click(ByVal sender...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.