I’ve created 4 Data GridView Dynamically. The Data Source of each of the gridviews is a DataTable. It has 3 columns, first column type being string, second and third column being DateTime. The First Column has static data. On clicking the second and third column cells, I want a DateTimePicker to come allowing user to select DateTime Value.
I’ve created 4 Data GridView Dynamically. The Data Source of each of the gridviews
Share
I think it might be possible to do changes doing DataBindings, but I choose not to look into it.
Instead of attaching DataTable as DataSource, I took e.g mentioned here MSDN customised it as per my needs and then created DataGridViewColumns and iterated over Rows of DataTable to fill up content. I did write any template code.