Home / FAQ / ASP.NET / ListBox / How to clear all the items in a listbox
VB.NET
ListBox1.Items.Clear
C#
ListBox1.Items.Clear();
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with