A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.
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.
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.
|VB.Net WebRequest Code from JSON curl||7||88|
|SQL Server 2005 database messed up. Can it be fixed?||4||37|
|Using this function||4||40|
|ASP.NET(VB) Getting values from 2 tables and getting values after the connection is closed (DataTables/DataSets)||13||33|