Answer: With the help of CType method,we can cast any controls or any values.
For Example:-
Dim lbl_employee_id As Label = CType(e.Row.FindControl("lbl_employee_id"), Label)
Dim value As Integer = CType(12.05 * 12.05, Single)
Asked In: Many Interviews |
Alert Moderator