Click here to Skip to main content
15,884,237 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Application_End () problem Pin
Tad McClellan29-Jan-09 11:01
professionalTad McClellan29-Jan-09 11:01 
GeneralRe: Application_End () problem Pin
sana1729-Jan-09 11:12
sana1729-Jan-09 11:12 
AnswerRe: Application_End () problem Pin
N a v a n e e t h29-Jan-09 15:01
N a v a n e e t h29-Jan-09 15:01 
Questionchanging property of some other form's control? Pin
Tarun.Suneja29-Jan-09 7:38
Tarun.Suneja29-Jan-09 7:38 
AnswerRe: changing property of some other form's control? Pin
ToddHileHoffer29-Jan-09 7:48
ToddHileHoffer29-Jan-09 7:48 
AnswerRe: changing property of some other form's control? Pin
Tad McClellan29-Jan-09 11:04
professionalTad McClellan29-Jan-09 11:04 
Question[newbie] Validating a date Pin
jon-8029-Jan-09 6:53
professionaljon-8029-Jan-09 6:53 
AnswerRe: [newbie] Validating a date Pin
N a v a n e e t h29-Jan-09 7:26
N a v a n e e t h29-Jan-09 7:26 
If I understood you correctly, you want to validate the date and allow only dd/mm/yyyy format. Correct? If yes, following code will do it
string dateString = "3/31/2009 12:00:00 AM"; // works well for 31/3/2009 12:00:00 AM
string dateFormat = "dd/M/yyyy h:mm:ss tt";
DateTime dateTime;
if (!DateTime.TryParseExact(dateString,dateFormat, 
         CultureInfo.InvariantCulture, DateTimeStyles.None, out dateTime))
    // Invalid date format
else
    // Correct! Validated successfully
I am on linux now and I haven't tested the above code. But looks like it will do the job.


AnswerRe: [newbie] Validating a date Pin
ToddHileHoffer29-Jan-09 7:53
ToddHileHoffer29-Jan-09 7:53 
Questionone webform to other Pin
Tarun.Suneja29-Jan-09 6:33
Tarun.Suneja29-Jan-09 6:33 
AnswerRe: one webform to other Pin
Rutvik Dave29-Jan-09 6:45
professionalRutvik Dave29-Jan-09 6:45 
GeneralRe: one webform to other Pin
Tarun.Suneja29-Jan-09 7:35
Tarun.Suneja29-Jan-09 7:35 
AnswerRe: one webform to other Pin
N a v a n e e t h29-Jan-09 6:54
N a v a n e e t h29-Jan-09 6:54 
AnswerRe: one webform to other Pin
Ashutosh Phoujdar29-Jan-09 21:06
Ashutosh Phoujdar29-Jan-09 21:06 
Question[newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8029-Jan-09 6:25
professionaljon-8029-Jan-09 6:25 
AnswerRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
Frauke29-Jan-09 23:35
Frauke29-Jan-09 23:35 
GeneralRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8030-Jan-09 8:38
professionaljon-8030-Jan-09 8:38 
AnswerRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8030-Jan-09 0:35
professionaljon-8030-Jan-09 0:35 
QuestionFormView last inserted ID into Access database Pin
Mohammad Al Hoss29-Jan-09 2:53
Mohammad Al Hoss29-Jan-09 2:53 
AnswerRe: FormView last inserted ID into Access database Pin
led mike29-Jan-09 4:24
led mike29-Jan-09 4:24 
QuestionFILE UPLOAD control Pin
sana1729-Jan-09 2:29
sana1729-Jan-09 2:29 
AnswerRe: FILE UPLOAD control Pin
J4amieC29-Jan-09 2:36
J4amieC29-Jan-09 2:36 
GeneralRe: FILE UPLOAD control Pin
sana1729-Jan-09 8:10
sana1729-Jan-09 8:10 
AnswerRe: FILE UPLOAD control Pin
Paddy Boyd29-Jan-09 2:45
Paddy Boyd29-Jan-09 2:45 
GeneralRe: FILE UPLOAD control Pin
sana1729-Jan-09 8:10
sana1729-Jan-09 8:10 

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.