Sub-procedure and Function
State the major difference between the sub-procedure and function?
Expert
Sub-procedure is a block of multiple visual basic statements within the Sub and End Sub statements. It is used for performing specific tasks, like changing properties of the objects, data displaying, and receiving or processing an output. A sub-procedure can be defined anywhere in the program, such as in modules, structures, and classes. Arguments in the sub-procedure can be specified; but, it does not return a new value.
Function is also a set of statements within the Function and End Function statements. It is similar to the sub-procedure and performs the same task.
Main difference between the function and the sub-procedure is that, the sub-procedures do not return a value while functions do.
Differentiate between the methods Clone() and Copy() of a DataSet class?
Explain, what is Connection Pooling?
Explain the use of <sessionState> tag in a web.config file?
What data type does the Range Validator control support?
Write three general properties of every validation controls?
Is it possible to set which kind of comparison we want to perform by the CompareValidator control?
Briefly describe side-by-side execution and also explain whether two applications, one using the shared assembly and other private assembly be declared as side-by-side executables?
Can I employ Windows Forms in the WPF application? Give reasons.
Name the classes that are supported to make the XML DOM?
Describe disconnected architecture of the ADO.NET's data access model?
18,76,764
1953449 Asked
3,689
Active Tutors
1425248
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!