Click here to Skip to main content
16,010,876 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reading MS Excel Sheet into dataset Pin
leckey26-Dec-07 15:51
leckey26-Dec-07 15:51 
GeneralRe: Reading MS Excel Sheet into dataset Pin
248912826-Dec-07 18:14
248912826-Dec-07 18:14 
Questionhow to convert the first letter to upper case Pin
jagan12326-Dec-07 1:21
jagan12326-Dec-07 1:21 
AnswerRe: how to convert the first letter to upper case Pin
N a v a n e e t h26-Dec-07 1:39
N a v a n e e t h26-Dec-07 1:39 
GeneralRe: how to convert the first letter to upper case Pin
jagan12326-Dec-07 2:10
jagan12326-Dec-07 2:10 
GeneralRe: how to convert the first letter to upper case Pin
Not Active26-Dec-07 3:44
mentorNot Active26-Dec-07 3:44 
GeneralRe: how to convert the first letter to upper case Pin
jagan12326-Dec-07 3:51
jagan12326-Dec-07 3:51 
GeneralRe: how to convert the first letter to upper case Pin
Not Active26-Dec-07 4:15
mentorNot Active26-Dec-07 4:15 
This will capitalize the the first letter in every work in the text. Of course it won't differentiate between proper names and other words.

private string ToSentenceCase(Match match)<br />
{<br />
   return match.Value[0].ToString().ToUpper() + <br />
              match.Value.Substring(1);<br />
}<br />
<br />
string text = Regex.Replace(TextBox.Text, @"\w+", ToSentenceCase);



only two letters away from being an asset

Generalcommunity portal development tools Pin
nannapanenikamalnath26-Dec-07 0:24
nannapanenikamalnath26-Dec-07 0:24 
GeneralRe: community portal development tools Pin
N a v a n e e t h26-Dec-07 0:40
N a v a n e e t h26-Dec-07 0:40 
GeneralRe: community portal development tools Pin
sulabh202026-Dec-07 1:20
sulabh202026-Dec-07 1:20 
GeneralRe: community portal development tools Pin
nannapanenikamalnath26-Dec-07 2:34
nannapanenikamalnath26-Dec-07 2:34 
QuestionProblem in url mapping Pin
Sanam26-Dec-07 0:17
Sanam26-Dec-07 0:17 
GeneralRe: Problem in url mapping Pin
Sun Rays26-Dec-07 1:20
Sun Rays26-Dec-07 1:20 
GeneralRe: Problem in url mapping(another issue) Pin
Sanam26-Dec-07 18:40
Sanam26-Dec-07 18:40 
GeneralProblem in handling cookies Pin
Ravi_2126-Dec-07 0:03
Ravi_2126-Dec-07 0:03 
GeneralRe: Problem in handling cookies Pin
Sanam26-Dec-07 0:30
Sanam26-Dec-07 0:30 
GeneralAbout validation in asp.net Pin
shyni25-Dec-07 23:41
shyni25-Dec-07 23:41 
GeneralRe: About validation in asp.net Pin
sulabh202026-Dec-07 1:17
sulabh202026-Dec-07 1:17 
GeneralPassing Variables from .aspx to .ascx Pin
Montu7625-Dec-07 23:38
Montu7625-Dec-07 23:38 
GeneralRe: Passing Variables from .aspx to .ascx Pin
Sun Rays25-Dec-07 23:40
Sun Rays25-Dec-07 23:40 
GeneralRe: Passing Variables from .aspx to .ascx Pin
Montu7626-Dec-07 0:10
Montu7626-Dec-07 0:10 
GeneralRe: Passing Variables from .aspx to .ascx Pin
N a v a n e e t h26-Dec-07 0:36
N a v a n e e t h26-Dec-07 0:36 
GeneralRe: Passing Variables from .aspx to .ascx Pin
Montu7626-Dec-07 1:32
Montu7626-Dec-07 1:32 
GeneralRe: Passing Variables from .aspx to .ascx Pin
N a v a n e e t h26-Dec-07 1:36
N a v a n e e t h26-Dec-07 1:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.