What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.
Imports System.Data.Sqlclient Imports System.Xml Public Class Form1 Dim dsWSCGSoftware As New DataSet Dim conWSCGSoftware As New SqlConnection Dim strConnectionString As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim xmlReader As New XmlTextReader("csWSCGSoftware.xml") 'strConnectionString = xmlReader.ReadElementString("connection") conWSCGSoftware = New SqlConnection(xmlReader.ReadElementString("connection")) conWSCGSoftware.Open() MessageBox.Show(conWSCGSoftware.ConnectionString) 'Get_CustomerIDs() 'Get_Products() conWSCGSoftware.Close() ' lblInvTotal.Text = "Total Invetory Value: " & FormatCurrency(Me.Total_Inventory, 2) End Sub End Class
<?xml version="1.0" encoding="utf-8" ?> <connection> Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\WSCGSoftware.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True </connection>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How can I add google maps in vb.net.||2||46|
|Create simple VB.net Add-in for Excel in Office 365||2||53|
|Variable 'id' is used before it has been assigned a value||29||41|
|VB Catch Statement in Event Viewer.||2||19|
Join the community of 500,000 technology professionals and ask your questions.