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 an Interface? Have you ever developed an Interface.
Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?
How to create properties and methods using controls?
What is the Difference between a sub and a function?
Which namespace is the base class for .net Class library?
What is an exe and a dll?
Do you know what are three common acronyms used in .net, and what do they stand for?
What is the difference between imperative and interrogative code?
Please explain what is the difference between constants and read-only variables?
What are the namespace available in .net?
What is a delegate in .NET?
Write an StoredProcedure to get the values of a column within a date range.