Cellvalidating event in datagridview
I tried to enforce the uppercase in sql when the value was inserted but that failed. NET CDA/Wiley T...470131470================================================== ========= Why can't Programmers, program??
=========I would actually like to save it to the table in uppercase I've found this as a solution but the [Row Index] and [Cell Index] are not available in the event.
Also this approach allows the user more flexibility.
Lets say the user its not required to enter data in all the rows of the datagridview, the latter approach would work just fine.
As I said, I would like it to remain in the cell that has the duplicate content.Hi everyone, I have the current situation, I have get done with the datagridview cellvalidation, but, I need that after the validation get's done, to set different columns values on the same datagridview. the event is taking place at the Cell Validating event, if anyone can lend me a hand I will really appreciate it, best regards, JJGarc1a End If End If Dias_Asueto Then Msg Box("Los dias correspondientes son " & Dias_Asueto) e. Cancel = True else 'here I was thinking on something like Data Grid View Text Box Column7.value = 60 and so on, but none of this works. To determine the state of the current cell, use the Data Grid View Cell Validating Event Args. When this event is canceled in data-bound mode, the new value is not pushed to the underlying data source.Row Index and Data Grid View Cell Validating Event Args. When this event is canceled in virtual mode, the Data Grid View.