Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do this in visual studio, VISUAL BASIC NOT C# Make your own database table called employees. Create the following fields: firstname lastname title birthdate Populate

Do this in visual studio, VISUAL BASIC NOT C#

Make your own database table called employees.

Create the following fields:

  • firstname
  • lastname
  • title
  • birthdate

Populate the database with dummy data

Repeat the example above

  • Create a new project
  • Create a new class
  • Create a method called getemployees and return a datatable with firstname, lastname, title, birthdate from employees table
  • Create a method called getNumEmployes to return a number of employees
  • Create a method called getXMl that retrieves the employee names in XML format from the employees table
  • Add a datagridview , a label, a textbox and 3 buttons
  • The first button will bind the datagridview with the datatable from getemployees method
  • The second button will populate a label with the number of employees from the getNumEmployees method you create
  • The third button will fill the textbox with xml from getXML method

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions