| | |
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 activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# c#gridviewcolumn cac checkbox click commonfunctions confirmationcodegeneration content courier css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dialog dropdownlist dynamically edit expose fileuploader fill flash formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox login microsoft mono mouse mssql multistepregistration news numerical objects opera panelmasterpagebuttoncontrols radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice xml xsl youareanotmemberofthedebuggerusers





