I got a datagridview, record daily water meter.
so I want minus today record with yesterday 1 and get using how many meter of water.
Refer attachment will clearly to know. untitled16

Cant you calulate this value and add it to your datasource before you bind to the grid?

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.