MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Public Function FillArcustComboBoxDataTable() As DataTable Dim dt As New Data.DataTable Dim sqlcmdtext As String = "SELECT ccustno FROM arcust WHERE cstatus = 'a'" Try Using SqlConn As New SqlConnection(My.Settings.VAMSQL_ConnString) Using da As New SqlDataAdapter(sqlcmdtext, SqlConn) da.Fill(dt) End Using End Using Catch ex As Exception 'TODO: test exeption Throw New Exception(ex.Message) End Try Return dt End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
10 Experts available now in Live!