Click here to Skip to main content
15,899,314 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionset values for session variables Pin
sc steinhayse22-Jun-12 5:19
sc steinhayse22-Jun-12 5:19 
AnswerSession variable overview Pin
David Mujica22-Jun-12 6:05
David Mujica22-Jun-12 6:05 
AnswerRe: set values for session variables Pin
jkirkerx22-Jun-12 6:37
professionaljkirkerx22-Jun-12 6:37 
QuestionAssigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 1:59
sheringkapoting22-Jun-12 1:59 
AnswerRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
Sanjay Kunjam22-Jun-12 2:57
Sanjay Kunjam22-Jun-12 2:57 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 3:21
sheringkapoting22-Jun-12 3:21 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
AshishChaudha29-Jun-12 22:30
AshishChaudha29-Jun-12 22:30 
QuestionC# session variable Pin
sc steinhayse21-Jun-12 12:05
sc steinhayse21-Jun-12 12:05 
In a C# 2010 web application, I would like to know how to convert a session variable that is in a date time format to a string value that displays in a textbox on the web application. I would like to only obtain the date part of the value.

I have tried lots of versions that look like the following:

Date1.Text = Session["Date1"].ToString("yyyy-MM-dd HH:mm:ss");


How would you setup this code so the value is acutally set correctly for the textbox?
AnswerRe: C# session variable Pin
jkirkerx21-Jun-12 12:21
professionaljkirkerx21-Jun-12 12:21 
AnswerRe: C# session variable Pin
AspDotNetDev21-Jun-12 13:02
protectorAspDotNetDev21-Jun-12 13:02 
AnswerRe: C# session variable Pin
Rahul Rajat Singh25-Jun-12 0:56
professionalRahul Rajat Singh25-Jun-12 0:56 
QuestionShowing a single Modal Popup Extender on Click of Multiple Controls. Pin
sheringkapoting21-Jun-12 2:45
sheringkapoting21-Jun-12 2:45 
AnswerRe: Showing a single Modal Popup Extender on Click of Multiple Controls. Pin
jkirkerx21-Jun-12 10:58
professionaljkirkerx21-Jun-12 10:58 
QuestionExpected ')' Pin
Member 911397420-Jun-12 21:47
Member 911397420-Jun-12 21:47 
AnswerRe: Expected ')' Pin
Nagy Vilmos20-Jun-12 22:44
professionalNagy Vilmos20-Jun-12 22:44 
AnswerRe: Expected ')' Pin
ZurdoDev21-Jun-12 2:34
professionalZurdoDev21-Jun-12 2:34 
AnswerRe: Expected ')' Pin
Abhinav S21-Jun-12 20:16
Abhinav S21-Jun-12 20:16 
AnswerRe: Expected ')' Pin
JMummery23-Jun-12 13:34
professionalJMummery23-Jun-12 13:34 
AnswerRe: Expected ')' Pin
Dhyanga9-Jul-12 11:38
Dhyanga9-Jul-12 11:38 
QuestionFormated tooltip Pin
lrsalunkhe20-Jun-12 20:39
lrsalunkhe20-Jun-12 20:39 
AnswerRe: Formated tooltip Pin
ZurdoDev21-Jun-12 2:35
professionalZurdoDev21-Jun-12 2:35 
QuestionCommon error when uploading files? Pin
Member 245846720-Jun-12 18:26
Member 245846720-Jun-12 18:26 
AnswerRe: Common error when uploading files? Pin
Sandeep Mewara20-Jun-12 19:43
mveSandeep Mewara20-Jun-12 19:43 
AnswerRe: Common error when uploading files? Pin
ZurdoDev21-Jun-12 2:37
professionalZurdoDev21-Jun-12 2:37 
Questionasp.net 2010 button Pin
classy_dog20-Jun-12 10:08
classy_dog20-Jun-12 10:08 

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.