Author: katbeme | Posted on: 9/28/2009 6:50:23 AM | Views : 391

I have a dropdownlist and in the list the items all have a number and description like this  ' MMA#245 Amoroso Rolls'  


Then I have a Add Item button which adds that selected dropdown item in a Textbox.  I want to try to find a way to only add the MMA#245 to that textbox field and not bring the description down 'Amoroso Rolls'.    Would I accomplish that using a query string?? 


Below is my code where I am adding that selected item to the textbox field


Protected Sub btnAddItems_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddItems.Click
     
        If ddlType.SelectedItem.Text = "Modify Your Order" Then
            tbIssueDescription.Text = tbIssueDescription.Text + "  New Item:  " + Me ...

Go to the complete details ...