PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Imports System.Data.SqlClient Public Class Form1 Private LawCon As SqlConnection Private LawDa As SqlDataAdapter Private LawDs As DataSet Private Lawcmd As SqlCommand Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click LawCon = New SqlConnection("server=MITTAL;uid=sa;pwd=;database=mys") LawDa = New SqlDataAdapter("select * from Law1", LawCon) LawDs = New DataSet() LawDa.Fill(LawDs, "Laws") DataGridView1.DataSource = LawDs.Tables("Laws") DataGridView1.Refresh() End Sub
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.