The ASP ReadAll Method is used to read all the contents from the Text file. It is a predefined method of the TextStream Object that returns a result string.
Note: This method is not suitable for large files because it wastes memory resources.
Example Code: Below code illustrates the ASP ReadAll Method.
The entire content in the files is : Hello GeeksForGeeks A computer science portal for geeks.