CoolInterview.com - World's Largest Collection of Interview Questions
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!


    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS MICROSOFT ASP.NET 2.0 DETAILS
    Question :
    Whenever I am inserting an item in the listbox i.e. list1.items.add (item), I want to add an link button (eg. Remove) for each of the listitem entered.
    When I will click on the link button, the corrosponding listitem will be removed.
    Please help me in this matter.
    Substitute of the listbox can be any other control.

    Thanks

    Contact   Contact
    Category ASP.NET 2.0 Interview Questions
    Rating (1.0) By 1 users
    Added on 6/21/2007 7:56:48 PM
    Views 1318
    Rate it!
    Answers:

    Here i wirte the coding for removing the selcted item from the listbox when we click a button.
    In case if this is not u r expectation then send a mail to me....


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim n As Integer
    n = ListBox1.Items.Count
    MsgBox(n)
    ListBox1.Items.Remove(ListBox1.SelectedItem)
    End Sub



     Posted by: velmurugan.E    

    Contact velmurugan.E  Contact velmurugan.E


    If you have the better answer, then send it to us. We will display your answer after the approval.
    Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:

    View ALL ASP.NET 2.0 Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2009 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions
    Page URL: http://www.coolinterview.com/interview/11243/default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | Joke of the Day

    0.47