CoolInterview.com - World's Largest Collection of Interview Questions
Home| Ask Questions| About Us| Feedback| Contact Us|
 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

  • COOLINTERVIEW.COM 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 Author  Contact Author


    Answer :
    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 Author  Contact Author

    © CoolInterview.com
    Today's Special: Get Free Magazine from SAP now!

    A D V E R T I S E M E N T








    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

       


    Rate the above answer. Help us to know about the answer.
    Category ASP.NET 2.0 Interview Questions
    Rating (1.0) By 1 users
    Added 6/21/2007 7:56:48 PM
    Views 1201
    Rate it!
    Free Offers 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    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


    Sponsored Links  

    Google Search

    Google

    CoolInterview.com is a part of Vyom Network.
    Copyright ©2003-2009 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Privacy Policy
    Page URL: http://www.coolinterview.com/interview/11243/Default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial

    0.9