Hi, I'm using vb.net 2010 express with sql server 2008r
I have a datagridview with multiple columns and rows on a form.
I am trying to populate a particular cell depending on what is entered into another cell for each row.
In other words...
When I enter a date in column1, I want to then calculate another date based on that date (say add 12 months) and enter that new date into column6 in the same row, but only if the column 6 cell is already empty (or Null)
Does that make sense?
The calculation is easy enough but I am not sure which event I should use to do this.
I only want it to happen when the user either enters a new date in column1 or changes the date in column1.
I have a datagridview with multiple columns and rows on a form.
I am trying to populate a particular cell depending on what is entered into another cell for each row.
In other words...
When I enter a date in column1, I want to then calculate another date based on that date (say add 12 months) and enter that new date into column6 in the same row, but only if the column 6 cell is already empty (or Null)
Does that make sense?
The calculation is easy enough but I am not sure which event I should use to do this.
I only want it to happen when the user either enters a new date in column1 or changes the date in column1.