Home > Forum > ASP.NET > Need to show the message for a particular period in asp.net

Need to show the message for a particular period in asp.net

by Thamil   on Oct 14, 2014   Category: ASP.NET  |  Views: 885    |  Points: 5   |  Gold 
  Reply
need to show the message for a particular period in asp.net


i have a table with the following data

empid fromdate todate amount

1 10/10/2014 15/10/2014 150



if the employee again come with the date like (12/10/2014) to get the amount for the lunch. i need to show a meassage like already amount is given for the

given date .


within 10-15 date if the employee come to get the amount need to show the message like already amount is given..

Question posted on behalf of selvi

Bookmark and Share:
 
  User Reply  | Ask a question  |   Reply 
  Re :Need to show the message for a particular period in asp.net   
by Thamil
on Oct 14 2014 4:19AM
Points : 10
Gold 
Hi Selvi,

empid fromdate todate amount amt_flag

1 10/10/2014 15/10/2014 150 1

In the above sample table add one more column amt_flag and update as 1 when employee receiving the amount otherwise amt_flag coloumn would be 0.
Then check amt_flag status every time then display the message “Already….” If amt_flag=1.
Hope this will help you on this.
  Re :Need to show the message for a particular period in asp.net   
by celv
on Oct 26 2014 3:45AM
Points : 10
Bronze 
but in this date is not mention
if the employee came to get the amount at 12/10/2014 means data is to be inserted .

Recent Post

Latest Posts