0% found this document useful (0 votes)
27 views1 page

Practical No. 25 & 26: Understand The Concept of Data Adapter

The document discusses developing a window application in Visual Basic that contains multiple tables from different datasets. It provides sample code to load data into two tables called "visualproject" and "Department" using their respective TableAdapters. The code demonstrates using data adapters to fill datasets and display related data from multiple sources in a single window application.

Uploaded by

Rahul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Practical No. 25 & 26: Understand The Concept of Data Adapter

The document discusses developing a window application in Visual Basic that contains multiple tables from different datasets. It provides sample code to load data into two tables called "visualproject" and "Department" using their respective TableAdapters. The code demonstrates using data adapters to fill datasets and display related data from multiple sources in a single window application.

Uploaded by

Rahul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Practical No. 25 & 26: Understand The Concept Of Data Adapter.

2. Develop a window application that will contain multiple tables in a single dataset.

❖ Program

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
'TODO: This line of code loads data into the 'VisualprojectDataSet2.visualproject'
table. You can move, or remove it, as needed.
Me.VisualprojectTableAdapter.Fill(Me.VisualprojectDataSet2.visualproject)
'TODO: This line of code loads data into the 'DepartmentDataSet.Department'
table. You can move, or remove it, as needed.
Me.DepartmentTableAdapter.Fill(Me.DepartmentDataSet.Department)

End
SubEnd
Class

➢ Output

You might also like