Question
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started