locked
insert generic list item value from user interface RRS feed

  • Question

  • I want to insert List value from windows form user interface.

     

    which control is better for insert data from user interface?

     

    I want to insert 4 item value at a time.

     

    please help me.

    List<string> lst=new List<string>();

    lst.items.add("x");

    lst.items.add("y");

    lst.items.add("z");

    lst.items.add("w");


    Muhammad Moniruzzaman
    Thursday, August 18, 2011 10:28 AM

All replies

  • Can you go through the following .
     Dim lst As New List(Of String)()
            lst.Add("x")
            lst.Add("y")
            lst.Add("z")
            lst.Add("w")
            bindingList = New BindingList(Of String)(lst)
            Me.ComboBox1.DataSource = bindingList

    Tell me this is what u wants o anything other.

    Friday, August 19, 2011 2:50 PM