I have a datagridview with 9 columns. I am simply trying take the value in column 5 and subtract it from column 6, then display the result in column 9. It seems simple enough, I know it’s done in excel all the time. But I just cannot figure this out. Do I need to create a new class with a method called calculate columns? Or does the datagridview class have something already built in that can handle this?
Share
Links: CellFormatting event, DataGridViewcellFormattingEventArgs