Public Property Declared in .cs file
Public Property PId() As Integer
Get
Return _PId
End Get
Set(ByVal value As Integer)
_PId= value
End Set
End Property
Public Property LocationID () As Integer
Get
Return _LocationID
End Get
Set(ByVal value As Integer)
_LocationID = value
End Set
End Property
Note:-To access property it should be declared as Public
Access property in Jquery/Javascript:
var PatientID = eval('<%= PId%>');
var LocationID = eval('<%=LocationID %>');
Public Property PId() As Integer
Get
Return _PId
End Get
Set(ByVal value As Integer)
_PId= value
End Set
End Property
Public Property LocationID () As Integer
Get
Return _LocationID
End Get
Set(ByVal value As Integer)
_LocationID = value
End Set
End Property
Note:-To access property it should be declared as Public
Access property in Jquery/Javascript:
var PatientID = eval('<%= PId%>');
var LocationID = eval('<%=LocationID %>');
No comments:
Post a Comment