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.
Write about the AJAX and JavaScript?
Explain the various Visual Basic features which support LINQ?
Explain DataReader object?
How a condition can be implemented in the workflow?
Write the difference between unmanaged and managed code?
Is it possible to validate a DropDownList by RequiredFieldValidator?
Whether XCOPY copies the system files and the hidden files or not.
Write the difference between server-side validations and client-side in Web pages?
Mention the basic steps to perform the LINQ query.
How we can enable impersonation in the web.config file?
18,76,764
1923158 Asked
3,689
Active Tutors
1436246
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!