|
I have a Table in SQL Server that stores Allowances and Deductions to be used in a payroll system. Since, a user can add as many Allowances and Deductions, I want that when payslip generation form is opened, all the Allowances and Deductions must be displayed with a text box with them. Though it is easy to show all the records from the table in a DataGridView, I want to know whether the next column in a DataGridView can have calculated values and the third column be enabled for the user to type in the entry.
Is there any other way to generate a dynamic form where labels and text boxes are generated automatically depending upon the columns in a table.
|