Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Running my site in remote Pin
confusedme5-Oct-07 0:28
confusedme5-Oct-07 0:28 
GeneralRe: Running my site in remote Pin
Christian Graus5-Oct-07 1:07
protectorChristian Graus5-Oct-07 1:07 
AnswerRe: Running my site in remote Pin
Jacky Yiu5-Oct-07 0:28
Jacky Yiu5-Oct-07 0:28 
GeneralRe: Running my site in remote Pin
confusedme5-Oct-07 0:34
confusedme5-Oct-07 0:34 
GeneralRe: Running my site in remote Pin
Jacky Yiu5-Oct-07 0:38
Jacky Yiu5-Oct-07 0:38 
GeneralRe: Running my site in remote Pin
confusedme5-Oct-07 0:52
confusedme5-Oct-07 0:52 
GeneralRe: Running my site in remote Pin
Jacky Yiu5-Oct-07 1:13
Jacky Yiu5-Oct-07 1:13 
Questiondate validation plz help me................ plz Pin
P_Elza4-Oct-07 23:23
P_Elza4-Oct-07 23:23 
hai all
i have 2 date column, receive date n due date. RD should be greater than DD. am entering the date in the form dd/mm/yyyy. and For validation am using a function validatedate. the code is given below.
string dd=Convert.ToString(fld.Month);
string dd1=Convert.ToString(fld1.Month);
string mm=Convert.ToString(fld.Day);
string mm1=Convert.ToString(fld1.Day);
string yy=Convert.ToString(fld.Year);
string yy1=Convert.ToString(fld1.Year);
string date=mm+"/"+dd+"/"+yy;
string date1=mm1+"/"+dd1+"/"+yy1;
if((String.Compare(yy,yy1)>0)||(String.Compare(mm,mm1)>0)||((String.Compare(dd,dd1)>0)&&(String.Compare(mm,mm1)==0))||((String.Compare(dd,dd1)<=0)&&(String.Compare(mm,mm1)>0)))
{
	lblmsg.Text="error";		
	RegisterStartupScript("startup","<script>window.alert('Error:"+date.ToString()+">"+date1.ToString()+" ')</script>");
}
else
{
RegisterStartupScript("startup","<script>window.alert('correct:"+date1.ToString()+">"+date.ToString()+" ')</script>");
}

but for 1,2,3,up to 9 it is taking only one digit and not validation properly. how to include 0 also along with the date.
plz help me.
plz......
i poted a quest before. but didnt get any reply. so i tried it in this format. plz do help meConfused | :confused:
AnswerRe: date validation plz help me................ plz Pin
Christian Graus4-Oct-07 23:30
protectorChristian Graus4-Oct-07 23:30 
GeneralRe: date validation plz help me................ plz Pin
P_Elza4-Oct-07 23:50
P_Elza4-Oct-07 23:50 
GeneralRe: date validation plz help me................ plz Pin
Christian Graus4-Oct-07 23:56
protectorChristian Graus4-Oct-07 23:56 
GeneralRe: date validation plz help me................ plz Pin
P_Elza5-Oct-07 0:11
P_Elza5-Oct-07 0:11 
GeneralRe: date validation plz help me................ plz Pin
Jacky Yiu5-Oct-07 0:21
Jacky Yiu5-Oct-07 0:21 
GeneralRe: date validation plz help me................ plz Pin
Guffa5-Oct-07 0:25
Guffa5-Oct-07 0:25 
AnswerRe: date validation plz help me................ plz Pin
V.5-Oct-07 2:28
professionalV.5-Oct-07 2:28 
QuestionXML Schema aliases and comments Pin
Lutosław4-Oct-07 23:16
Lutosław4-Oct-07 23:16 
QuestionEmbedding icons in windows application Pin
J a a n s4-Oct-07 23:15
professionalJ a a n s4-Oct-07 23:15 
AnswerRe: Embedding icons in windows application Pin
sthotakura4-Oct-07 23:25
sthotakura4-Oct-07 23:25 
Questionsend & receive SMS in C# using USB Port Pin
kasun darshana jayasekara4-Oct-07 22:57
kasun darshana jayasekara4-Oct-07 22:57 
AnswerRe: send & receive SMS in C# using USB Port Pin
Christian Graus4-Oct-07 23:15
protectorChristian Graus4-Oct-07 23:15 
QuestionRe: send & receive SMS in C# using USB Port Pin
ESTAN5-Oct-07 3:37
ESTAN5-Oct-07 3:37 
QuestionUploding File in window Application Pin
shahbaz rehman4-Oct-07 21:20
shahbaz rehman4-Oct-07 21:20 
AnswerRe: Uploding File in window Application Pin
il_masacratore4-Oct-07 21:45
il_masacratore4-Oct-07 21:45 
QuestionProcessStart and COM port Pin
il_masacratore4-Oct-07 21:19
il_masacratore4-Oct-07 21:19 
AnswerRe: ProcessStart and COM port Pin
TJoe5-Oct-07 2:33
TJoe5-Oct-07 2:33 

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.