Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.
Imports System Imports System.Data Imports System.Data.SqlClient Public Class Form1 Shared WithEvents con As SqlConnection Shared Sub Main() con = New SqlConnection("Persist Security Info=False;User ID=sa;Password=50Cent;Initial Catalog=TSN2;Server=tsnappdev01") Dim cmd As New SqlCommand() cmd.CommandText = "SELECT FirstName, LastName, Position, Height , Weight FROM MLBPlayers" cmd.Connection = con Try con.Open() Dim reader As SqlDataReader = cmd.ExecuteReader() Do While reader.Read() Console.WriteLine(reader(0)) End While Loop While reader.NextResult() reader.Close() Finally con.Close() End Try End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.