| | |
block status
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2009
Posts: 3
Reputation:
Solved Threads: 0
hi,
I have developed website "Job requisition and Interview System".
In this website I offer products for accessing resume of Job Seeker .
After buying the product they can accesses resumes by activing status.After one month validity of product get over.And status become inactive.In this I did active status but how can I do inactive status after one month.
I have developed website "Job requisition and Interview System".
In this website I offer products for accessing resume of Job Seeker .
After buying the product they can accesses resumes by activing status.After one month validity of product get over.And status become inactive.In this I did active status but how can I do inactive status after one month.
•
•
Join Date: Sep 2007
Posts: 66
Reputation:
Solved Threads: 12
0
#2 Oct 12th, 2009
•
•
•
•
hi,
I have developed website "Job requisition and Interview System".
In this website I offer products for accessing resume of Job Seeker .
After buying the product they can accesses resumes by activing status.After one month validity of product get over.And status become inactive.In this I did active status but how can I do inactive status after one month.
ASP.NET Syntax (Toggle Plain Text)
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If CheckIsValidUser() = False Then Label1.Text = "Your Status is INACTIVE" Else Label1.Text = "Your Status is ACTIVE" End If End Sub Private Function CheckIsValidUser() As Boolean ' Dim RegisterDate As Date = Microsoft.VisualBasic.DateAdd(DateInterval.Month, -1, Date.Today).ToString Dim ExpiryDate As String = Microsoft.VisualBasic.DateAdd(DateInterval.Month, 1, RegisterDate).ToString If ExpiryDate.ToString = Date.Today.ToString Then ''Raise your exception Return False Else Return True End If End Function
Last edited by reach_yousuf; Oct 12th, 2009 at 5:45 am.
![]() |
Similar Threads
- Negative rep (DaniWeb Community Feedback)
- Block Web Site (Windows NT / 2000 / XP)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- How to Change the Length of Time That Your Computer Is Inactive Before Your Status Be (Windows tips 'n' tweaks)
- Missing status bar in new IE window (Web Browsers)
- IE Missing status message bar.. (Web Browsers)
- Block IPs (IT Professionals' Lounge)
Other Threads in the ASP.NET Forum
- Previous Thread: deploying a web applicaiton on individual pc
- Next Thread: Connect asp.net with SQL
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn cac checkbox class click commonfunctions compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownmenu dynamic edit embeddingactivexcontrol expose findcontrol flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list menu mono mssql multistepregistration nameisnotdeclared novell objects order problem ratings rotatepage save search security serializesmo.table sessionvariables silverlight smartcard sql sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment wizard xml youareanotmemberofthedebuggerusers





