Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Converting Text to UPPER case in a datagridview control

$
0
0

Hi,  I've tried everything but don't seem to be able to get this to work.

The seniario is this.  A user inputs some text in a cell of a datagridview control and I want the text to be converted into upper case before it is stored in the database.  This data is a KEY field to a table.

I've tried the format method of the defaultcellstyle and the onvalidate row, and cell events but can't seem to be able to figure this out.

Has anyone ever needed to do this before?  And, would you mind tell me how to do it?

Thanks,

Dave


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>