Hi all,
I have a partial Class as given below
And I am creating a instance for the class asCode:'File1 Partial Public Class Employee Public Sub getdata(ByVal sname As String, ByVal sage As Integer) 'What has to written End Sub End Class 'File2 Partial Public Class Employee Private m_name As String Private m_age As Integer Private Sub setdata(ByVal sname As String, ByVal sage As Integer) Me.m_name = sname Me.m_age = sage End Sub End Class
what method i have to write to get the data from class in getData methodCode:Dim clsEmployee As New Employee clsEmployee.setdata("Dam", 1)




Reply With Quote