saving items in the listbox


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: saving items in the listbox

  1. #1
    Jossafe Guest

    saving items in the listbox


    Hi:
    If I have progarme consist of "TextBox","ListBox" and one button.Any thing
    written in the textbox will be added to the listbox as an item when the user
    press the button. The code under that button is
    "ListBox1.Items.Add(TextBox1.Text)". The Ouestion is
    "what is the code or the method which used to save the items in the listbox
    that entered by the user" even if the program colsed and open agine i will
    find the same items.
    Thank you.

  2. #2
    Patrick Steele [MVP] Guest

    Re: saving items in the listbox

    In article <3d600b79$1@10.1.10.29> (from Jossafe
    <husamal_ahmadi@yahoo.com>),
    >
    > Hi:
    > If I have progarme consist of "TextBox","ListBox" and one button.Any thing
    > written in the textbox will be added to the listbox as an item when the user
    > press the button. The code under that button is
    > "ListBox1.Items.Add(TextBox1.Text)". The Ouestion is
    > "what is the code or the method which used to save the items in the listbox
    > that entered by the user" even if the program colsed and open agine i will
    > find the same items.


    Here's an example:

    http://groups.google.com/groups?selm...%40tkmsftngp05
    &oe=UTF-8

    (watch for line breaks above!)

    --
    Patrick Steele
    Microsoft .NET MVP
    http://radio.weblogs.com/0110109

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center