Click here to Skip to main content
15,921,295 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to set a datagridview column text is convert into upper case letetr in c# windows application.and range between maximum 18 numbers or 18 characters.


thanks & regards,
Sarika Nikam
Mob:9860471006
Posted
Updated 1-Aug-13 21:20pm
v2
Comments
Harshil_Raval 2-Aug-13 2:31am    
Pls describe more, what you actually want to do..
syed shanu 2-Aug-13 2:32am    
From SQL Query you can return first 18 Char with Upper Character to your grid
ridoy 2-Aug-13 3:08am    
very unclear.

1 solution

try this sql

SET word=UPPER(LEFT(word,1))+SUBSTRING(word,2,LEN(word))
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900