Text in Proper Case or say Title Case ;- lnk_1.Text = CultureInfo.CurrentCulture.TextInfo.ToTitleCase("Find a goal"); //TextInfo UsaTextInfo = new CultureInfo("en-US", false).TextInfo; Ouput: Find A Goal
Posts
Showing posts from February, 2013
- Get link
- X
- Other Apps
Comparing a value in between two columns I have a table TblControl. Data type of both field is int. StartRange End Range BMIClassification Table startval endvalue 0 100 200 300 500 600 900 950 SELECT StartRange, EndRange FROM Control WHERE 225 BETWEEN StartRange AND EndRange eg:- Declare @BMIValue int set @BMIValue=34 SELECT * FROM BMIClassification WHERE @BMIValue between startval and endvalue