Give An example of a ctype and directcast.
Answers were Sorted based on User's Feedback
Answer / sajid
Dim t As String = "5"
Dim s As Integer = CType(t, Integer)
Dim t As String = "5"
Dim w As String = DirectCast(t, String)
Is This Answer Correct ? | 19 Yes | 3 No |
textbox = CType(obj, TextBox)
textbox = DirectCast(obj, TextBox)
Is This Answer Correct ? | 15 Yes | 8 No |
What is the difference between vb.net and vc#.net?
Explain .NET architecture?
What are virtual destructures?
syntax for binding the data from database
What is a strategy pattern? Implement it.
What are the features of dot net?
Please explain is the jit an interpreter?
How different are interface and abstract class in .Net?
what is GAC?
What is .net and .net framework?
Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. Thanks for the help!!!
What is the model role in Mvc architecture?