I have a datagridview like below
Now see the column heading Monday1Subject, Monday1Teacher. I had created several columns after that in this pattern likeMonday2Subject, Monday2Teacher then Monday3Subject, Monday3Teacherand so on upto Monday8Subject, Monday8Teacher.
I want that if you follow up the columns, in the column Monday2Subject, Monday2Teacherwe have data inside Monday2Subject but we dont have data inMonday2Teacher so program should clear the value of Monday2Subject. And if you considerMonday1Subject, Monday1Teacher ; Monday1Subject contains data and so asMonday2Teacher, so program should leave it as is.
How can we do this stuff for all the columns in these rows, can somebody help ?