Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Public Class Form1 Dim CustomerData As New CustomerDB() Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load ' POPULATE customerList ARRAY LIST Dim customerList As List(Of Customer) = CustomerData.CustomerGetAll() ' CLEAR OLD DATA lstCustomers.Items.Clear() cmbState.Items.Clear() ' INITIALIZE THE LIST BOX WITH ALL CUSTOMERS Dim customers = From customer In customerList _ Select customer.CustomerID, customer.FirstName, customer.LastName, customer.City, customer.State ' ADD CUSTOMERS TO lstCustomers For Each customer In customers lstCustomers.Items.Add(customer.CustomerID & ControlChars.Tab & _ customer.FirstName & ControlChars.Tab & _ customer.LastName & ControlChars.Tab & _ customer.State & ControlChars.Tab & _ customer.City) Next ' POPULATE COMBO BOX Dim states = From state In customerList _ Order By state.State _ Select state.State Distinct cmbState.Items.Add("<All>") ' ADD CUSTOMERS TO lstCustomers For Each state In customers cmbState.Items.Add(state.State) Next cmbState.SelectedIndex = 0 End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|TCP Chat/GPS application security thru firewall||4||55|
RestClient.cs fails at (HttpWebResponse)request.G
|Trying to check to see if email is in valid format in asp.net||3||21|
Join the community of 500,000 technology professionals and ask your questions.