28/12/2014 by Nitesh

How To Delete a File From FTP Server in C#

Friends, In my last post, we saw how can we retrieve the list of all files & folders from a FTP server using C#. In this post, we will see how can we delete a file from FTP server using C# from within your Console or Windows Forms Application. Here’s the code – private string…

Continue Reading »

27/12/2014 by Nitesh

How To List All Files & Directories From a FTP Server in C#

Friends, In this post, we will see how we can retrieve the list of files and directories from a FTP server in C#. We will make use of FtpWebRequest class to perform this action. FtpWebRequest class is defined in System.Net namespace. This means you need to use this namespace at the top of your program…

Continue Reading »

30/09/2014 by Nitesh

How To List The Name of Current Active Window in C#

Friends, In this post, we will see how can we get the name of currently active window using C#. Since a .Net application cannot access objects outside the application, to get the active window we will use few functions of Windows API provided by Microsoft. We will specifically use GetForegroundWindow() and GetWindowText() functions to implement…

Continue Reading »

29/09/2014 by Nitesh

How To List the Name of all Running Processes in C#

Friends, In this post, we will see how we can print the list of all running processes on a machine using C#. To list all the processes, we will use one of the namespaces provided by Microsoft known as System.Diagnostics. As per MSDN, this namespace provides classes that allow you to interact with system processes,…

Continue Reading »

28/09/2014 by Nitesh

Solution: The data source does not support server-side data paging with GridView

Friends, While working with GridView, I faced an issue while binding the data to GridView. The error message read as “The data source does not support server-side data paging.“. Initially I thought this was related to paging functionality of the GridView and looked into that, but thatw as not the solution. After doing bit of…

Continue Reading »

1 3 4 5 6 7 10