Where we took two ListBoxes and their list item, we will put that list item inito each other list box.
Initial chamber
Step 1
Open your Visual Studio 2010 and create an Empty Website, provide a suitable name (listbox_demo).
Step 2
In Solution Explorer you get your empty website, then add two web forms and a SQL Server database as in the following.
For Web Form:
listbox_demo (your empty website) then right-click then select Add New Item -> Web Form. Name it listbox_demo.aspx.
Design chamber
Step 3
Now open your Listbox_demo.aspx file, where we create our design for our application.
Listbox_demo.aspx
Your design will look like this:
Code chamber
Step 4
Open your listbox_demo.aspx.cs and write some code so that our application works.
Output chamberHere the first button is as:
- Move data one.
- Remove data one.
- Add all.
- Remove all.
I hope you like this. Thank you for reading, have a good day.