Reputation: 15
I am currently a novice in the writing language (asp.net_vb) I would like to change button enabled true to button enabled false
I know you write it in (asp.net_C#)
button.enabled=false;
But I do not know how to write in (asp.net_vb)
And I need to be adjusted as soon as
Thank you all.
Upvotes: 0
Views: 609
Reputation: 5077
Use this tool to convert C# to Vb.net. you can do it for any of your snippets
Everything in .Net technology between C# and VB.net is pretty similar. don't get too confuse.
and is this what you're asking for? simple as that !!
Private Sub button1_Click(sender As Object, e As EventArgs)
button1.Enabled = False
End Sub
Upvotes: 2