In this article, I will show you how to override ToString() method in c# .net with example. You can overwrite a method of any class using a keyword “override”.
I want to download files from an FTP server using asp.net c#. When I tried to connect FTP server I got the following error FTP error: 530 User cannot Log in.
When I tried to Add rows to the dynamically generated DataTable though loop I got the following error. The DataTable contains two columns with DataType property as string.