Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionstartdate in dropdownlist Pin
m@dhu20-Oct-09 3:49
m@dhu20-Oct-09 3:49 
AnswerRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 4:00
professionalAbhijit Jana20-Oct-09 4:00 
GeneralRe: startdate in dropdownlist Pin
m@dhu20-Oct-09 4:15
m@dhu20-Oct-09 4:15 
GeneralRe: startdate in dropdownlist Pin
Richard MacCutchan20-Oct-09 4:19
mveRichard MacCutchan20-Oct-09 4:19 
GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 4:44
professionalAbhijit Jana20-Oct-09 4:44 
GeneralRe: startdate in dropdownlist Pin
m@dhu20-Oct-09 19:45
m@dhu20-Oct-09 19:45 
GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 20:03
professionalAbhijit Jana20-Oct-09 20:03 
GeneralRe: startdate in dropdownlist Pin
Nisha Agrawal20-Oct-09 20:25
Nisha Agrawal20-Oct-09 20:25 
I would prefer this one as it does not believe on string manipulatio and when we have datetime datatype then why do string manipulation?
String strDate = "12/27/2009"; //or any date format
String strFormat = "mm/dd/yyyy";
System.Globalization.CultureInfo provider = System.Globalization.CultureInfo.InvariantCulture;
DateTime dt = DateTime.ParseExact(strDate, strFormat, provider);
String dd = dt.Day.ToString();
String mm = dt.Month.ToString();
String yyyy = dt.Year.ToString();

GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 21:27
professionalAbhijit Jana20-Oct-09 21:27 
GeneralRe: startdate in dropdownlist Pin
Richard MacCutchan21-Oct-09 0:13
mveRichard MacCutchan21-Oct-09 0:13 
GeneralRe: startdate in dropdownlist Pin
m@dhu20-Oct-09 21:29
m@dhu20-Oct-09 21:29 
GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 21:35
professionalAbhijit Jana20-Oct-09 21:35 
AnswerRe: startdate in dropdownlist Pin
J4amieC20-Oct-09 4:03
J4amieC20-Oct-09 4:03 
GeneralRe: startdate in dropdownlist Pin
Richard MacCutchan21-Oct-09 0:11
mveRichard MacCutchan21-Oct-09 0:11 
QuestionDisplay the link and content in my site using RSS Pin
yesu prakash20-Oct-09 2:12
yesu prakash20-Oct-09 2:12 
AnswerRe: Display the link and content in my site using RSS Pin
Abhijit Jana20-Oct-09 3:34
professionalAbhijit Jana20-Oct-09 3:34 
GeneralRe: Display the link and content in my site using RSS Pin
yesu prakash20-Oct-09 17:50
yesu prakash20-Oct-09 17:50 
GeneralRe: Display the link and content in my site using RSS Pin
Abhijit Jana20-Oct-09 20:22
professionalAbhijit Jana20-Oct-09 20:22 
GeneralRe: Display the link and content in my site using RSS Pin
yesu prakash20-Oct-09 20:45
yesu prakash20-Oct-09 20:45 
GeneralRe: Display the link and content in my site using RSS Pin
yesu prakash21-Oct-09 17:44
yesu prakash21-Oct-09 17:44 
QuestionRegister the user control or Dynamic Loading the User Control Performance. Pin
Johndas20-Oct-09 2:05
Johndas20-Oct-09 2:05 
AnswerRe: Register the user control or Dynamic Loading the User Control Performance. Pin
Abhijit Jana20-Oct-09 3:47
professionalAbhijit Jana20-Oct-09 3:47 
QuestionHow to retrive the values from Cache Pin
sjs4u20-Oct-09 2:03
sjs4u20-Oct-09 2:03 
AnswerRe: How to retrive the values from Cache Pin
Ashfield20-Oct-09 2:12
Ashfield20-Oct-09 2:12 
GeneralRe: How to retrive the values from Cache Pin
sjs4u20-Oct-09 2:36
sjs4u20-Oct-09 2: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.