Click here to Skip to main content
15,912,069 members
Home / Discussions / C#
   

C#

 
QuestionIcons for files added to the Deployment project ?? Pin
adamhb28-Feb-07 11:43
adamhb28-Feb-07 11:43 
QuestionHow do I communicate with a stored procedure? Pin
Vernware28-Feb-07 11:04
Vernware28-Feb-07 11:04 
AnswerRe: How do I communicate with a stored procedure? Pin
kryzchek28-Feb-07 12:54
kryzchek28-Feb-07 12:54 
GeneralRe: How do I communicate with a stored procedure? Pin
Vernware2-Mar-07 1:57
Vernware2-Mar-07 1:57 
AnswerRe: How do I communicate with a stored procedure? Pin
Ennis Ray Lynch, Jr.28-Feb-07 12:59
Ennis Ray Lynch, Jr.28-Feb-07 12:59 
GeneralRe: How do I communicate with a stored procedure? Pin
Vernware2-Mar-07 1:56
Vernware2-Mar-07 1:56 
QuestionDate Conversion Pin
mrarunks28-Feb-07 10:38
mrarunks28-Feb-07 10:38 
AnswerRe: Date Conversion Pin
Christian Graus28-Feb-07 10:41
protectorChristian Graus28-Feb-07 10:41 
A regex will do this, or the Substring method on the string class will allow you to pull out the pairs of numbers and add a "/" between them.

string date = "120199";
string formated = date.Substring(0,2) + "/" + date.Substring(2,2) + "/" + date.Substring(4);

Note, it's possible to give the substring one parameter, and it grabs the rest of the string.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: Date Conversion Pin
Scott Dorman28-Feb-07 14:16
professionalScott Dorman28-Feb-07 14:16 
GeneralRe: Date Conversion Pin
mrarunks1-Mar-07 11:21
mrarunks1-Mar-07 11:21 
GeneralRe: Date Conversion Pin
Scott Dorman1-Mar-07 15:57
professionalScott Dorman1-Mar-07 15:57 
GeneralRe: Date Conversion Pin
mrarunks2-Mar-07 2:53
mrarunks2-Mar-07 2:53 
GeneralRe: Date Conversion Pin
mrarunks2-Mar-07 3:32
mrarunks2-Mar-07 3:32 
GeneralRe: Date Conversion Pin
Scott Dorman2-Mar-07 4:20
professionalScott Dorman2-Mar-07 4:20 
QuestionHELP :( Pin
İsmail Durmaz28-Feb-07 10:36
İsmail Durmaz28-Feb-07 10:36 
Questioncircle shapes Pin
md_refay28-Feb-07 10:29
md_refay28-Feb-07 10:29 
AnswerRe: circle shapes Pin
Christian Graus28-Feb-07 10:39
protectorChristian Graus28-Feb-07 10:39 
QuestionWindows Service in C#.Net 2.0, moving files from directory Pin
adnanrafiq28-Feb-07 10:05
adnanrafiq28-Feb-07 10:05 
AnswerRe: Windows Service in C#.Net 2.0, moving files from directory Pin
gus_br28-Feb-07 18:36
gus_br28-Feb-07 18:36 
GeneralRe: Windows Service in C#.Net 2.0, moving files from directory Pin
adnanrafiq28-Feb-07 18:54
adnanrafiq28-Feb-07 18:54 
GeneralRe: Windows Service in C#.Net 2.0, moving files from directory Pin
gus_br1-Mar-07 1:17
gus_br1-Mar-07 1:17 
QuestionHow to diplay web page inside another web page window? Pin
cebyrjoe228-Feb-07 9:27
cebyrjoe228-Feb-07 9:27 
AnswerRe: How to diplay web page inside another web page window? Pin
Wayne Phipps28-Feb-07 9:46
Wayne Phipps28-Feb-07 9:46 
AnswerRe: How to diplay web page inside another web page window? Pin
Vasudevan Deepak Kumar28-Feb-07 14:38
Vasudevan Deepak Kumar28-Feb-07 14:38 
QuestionHow to retrieve non fixed-length records from a binary file Pin
htres28-Feb-07 9:20
htres28-Feb-07 9:20 

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.