DOt Net .. New()
New():
This is the constructor and it executes when an object is created for the class.
It establishes the connection with the back end database.
Sub New()
constr = "Data Source=10.94.5.3;User ID=sundar;Password=sun02dar;Initial Catalog=e_Payroll"
con = New SqlConnection(constr)
result = 0
End Sub
<< Home