An new to data grid view, I am having column header like ID Date Intime Outtime

When I open the software Data grid view should display the column header – ID, Date, Intime, Outtime and display blank rows then I want to enter the values in Data grid view itself, the entered values automatically saved in the table. Suppose I modified the entered values in Data grid view that values also should change in table.

How to make a code in VB.NET for the above condition?

And also I am entering the Date and Time value in Data grid view, If entered date and time values is wrong, data grid view cell should not allow wrong date and time values.

How to make a code for this condition also.

Need VB.NET code Help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.