Very urgent---Please help me Vicenza, Italy
  • 12 years ago

    I have done a coding for adding items frm listbox to testbax ,after clicking button.

    I used the code like this.

    Private strBuild As New System.Text.StringBuilder

        Private str As String

     Protected Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

            str = strBuild.ToString()
            If str = " " Then
            End If
            TextBox1.Text = strBuild.ToString()

    Is there any disadvantage for this way of using ListBox to Textbox...
    Can we delete(remove) the item in TextBox if i entered it wrongly....

    Please advice...


  • 12 years ago

    The logic u written is ok, but it depends on ur requirement. So first clear that.


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe