Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!