Welcome to Techinforoad.com - my website where I will publish various articles, tutorials and how-tos on Microsoft Business Solutions Dynamics NAV, SQL Server, virtualization technology and more.
1) Create a new Visual Basic project 2) Create a Windows Form 3) Add TextBox control [Properties: Name=txtOutput, multiline=true, ReadOnly = true] 4) Add a Button control [Properties: Name=btnGo, Text = Go] 5) Double click button control and insert the following code:
Imports System Imports System.Data Imports System.Data.SqlClient
PublicClass Form1 PrivateSub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click