Internet is growing Every Seconds :: Industry is growing Every Year

Thursday, June 17, 2004

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