Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
QuestionClipboard help Pin
Jon Stroh14-Nov-06 17:06
Jon Stroh14-Nov-06 17:06 
AnswerRe: Clipboard help Pin
saqib8214-Nov-06 19:40
saqib8214-Nov-06 19:40 
Questionhow to highlight syntax as soon as loading text file in to richtextbox Pin
veluru krishna14-Nov-06 16:56
veluru krishna14-Nov-06 16:56 
QuestionACPI and WMI in C# Pin
Robert Jacob14-Nov-06 12:04
Robert Jacob14-Nov-06 12:04 
QuestionAutoclick type pgm Pin
Zinc Oianoid14-Nov-06 11:57
Zinc Oianoid14-Nov-06 11:57 
AnswerRe: Autoclick type pgm Pin
Christian Graus14-Nov-06 20:12
protectorChristian Graus14-Nov-06 20:12 
GeneralRe: Autoclick type pgm Pin
Zinc Oianoid16-Nov-06 5:03
Zinc Oianoid16-Nov-06 5:03 
QuestionDisplay as string in datetime custom format Pin
Mary Parkhouse14-Nov-06 11:14
Mary Parkhouse14-Nov-06 11:14 
In an asp.net page I need to use inline C# code to display a string in the following format "dddd, MMMM d" and "H:mm t".

I was successful in using the vb format function but the code must be in C# because of other parts of the page. I have been unsuccessful in finding the corresponding method for C#. The vb code that worked:

format(ctype("datetime string in proper format", datetime),"dddd, MMMM d")

In case you're wondering the quoted datetime string is provided by something outside of asp and is not a constant.

If someone can give me the equivalent in C#, I'd be very grateful. I've looked but can't find it.

Thanks,

Mary
AnswerRe: Display as string in datetime custom format Pin
Guffa14-Nov-06 12:27
Guffa14-Nov-06 12:27 
GeneralRe: Display as string in datetime custom format Pin
Christian Graus14-Nov-06 12:30
protectorChristian Graus14-Nov-06 12:30 
GeneralRe: Display as string in datetime custom format Pin
Mary Parkhouse15-Nov-06 6:16
Mary Parkhouse15-Nov-06 6:16 
AnswerRe: Display as string in datetime custom format Pin
Christian Graus14-Nov-06 12:30
protectorChristian Graus14-Nov-06 12:30 
QuestionPassing variables from C# to JavaScript Pin
DanB198314-Nov-06 10:53
DanB198314-Nov-06 10:53 
AnswerRe: Passing variables from C# to JavaScript Pin
Christian Graus14-Nov-06 12:32
protectorChristian Graus14-Nov-06 12:32 
AnswerRe: Passing variables from C# to JavaScript Pin
Guffa14-Nov-06 12:34
Guffa14-Nov-06 12:34 
GeneralRe: Passing variables from C# to JavaScript Pin
DanB198314-Nov-06 22:03
DanB198314-Nov-06 22:03 
AnswerRe: Passing variables from C# to JavaScript Pin
Justin.Jones16-Nov-06 9:06
Justin.Jones16-Nov-06 9:06 
QuestionScreen Saver status Pin
Daithi Brennan14-Nov-06 7:45
Daithi Brennan14-Nov-06 7:45 
AnswerRe: Screen Saver status Pin
Luc Pattyn14-Nov-06 12:55
sitebuilderLuc Pattyn14-Nov-06 12:55 
Questionhow to use Sql Server 2005 Reporting Services ? Pin
hdv21214-Nov-06 7:37
hdv21214-Nov-06 7:37 
AnswerRe: how to use Sql Server 2005 Reporting Services ? Pin
ednrgc14-Nov-06 7:45
ednrgc14-Nov-06 7:45 
GeneralRe: how to use Sql Server 2005 Reporting Services ? Pin
hdv21214-Nov-06 9:44
hdv21214-Nov-06 9:44 
GeneralRe: how to use Sql Server 2005 Reporting Services ? Pin
ednrgc14-Nov-06 9:49
ednrgc14-Nov-06 9:49 
QuestionEmbed an exe into app Pin
chossy14-Nov-06 6:48
chossy14-Nov-06 6:48 
AnswerRe: Embed an exe into app Pin
ednrgc14-Nov-06 7:09
ednrgc14-Nov-06 7:09 

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.