Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'If Not IsPostBack Then If txtPriKeyEmployerID.Text = "" Then 'Create a new Random class in VB.NET Dim RandomClass As New Random() 'Generate a random "Primary Key" for the Employers table between 1000000 and 9999999 Dim priKeyEmployers As Integer priKeyEmployers = RandomClass.Next(1000000, 9999999) txtPriKeyEmployerID.Text = priKeyEmployers ' Put Employers Primary Key in Employer ID# TextBox on Employer Form txtForeignKeyWsEmployerID.Text = priKeyEmployers ' Put Employers Primary Key in Employer ID# TextBox on Worksite Form txtForeignKeyPosEmployerID.Text = priKeyEmployers ' Put Employers Primary Key in Employer ID# TextBox on Position Form End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.