Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a visual studio project in c# Create a new form in Windows Application named ManageDept.cs. a. Drag and drop one DataGridView control to the

create a visual studio project in c#

Create a new form in Windows Application named ManageDept.cs. a. Drag and drop one DataGridView control to the form. b. Add fields to the Datagridview. c. To add fields right click on the datagridview ->Edit column->Add->Give Name, Heading and DataPropertyName. DataPropertyName should be same as the database column. Add all the fields required to display in datagridview-> click on ok d. Design the form as follows

image text in transcribed

i. Handle the click event of Save button. ii. Handle the click event of Edit button and Delete. iii. Handle the click event of Update button.

ManageDept Open with Manage Department Details Destione IsActive Edit Delete Dept Name IsActive Save Update Control Text Additional Properties DataGridView Edit Button1 Button2 Delete Name dgDept btnEdit btnDelete Ibl DeptName txtDeptName IblisActive Label1 Dept Name TextBox1 Label2 IsActive CheckBox Button3 Save ChklsActive btnSave btnUpdate Button4 Update

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

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions