How to catch and throw error in SQL Server?

This tutorial will show you how to catch and throw error in SQL Server? To throw error, we use RAISERROR […]

Updated on     Kisan Patel

Handle error in SQL Server Stored Procedures

This tutorial will show you how to handle errors in store procedure¬†in SQL Server? To handle error in stored procedure […]

Updated on     Kisan Patel

Convert Hostname to IP Address using C#

If you have a hostname such as google.com, and you need to obtain the IP address then use the Dns.GetHostEntry […]

Updated on     Kisan Patel

Convert IP Address to Hostname using C#

If you have an IP address and you need to resolve its hostname then use the Dns.GetHostEntry method in C#. […]

Updated on     Kisan Patel

How to Ping Programmatically to Remote Server using C#

To check a remote server availability on the network using C#, you need to use the System.Net.NetworkInformation.Ping class. class Program […]

Updated on     Kisan Patel

Upload files using the FTP in C#

To upload files using the File Transfer Protocol (FTP), you need to use the System.Net.FtpWebRequest class. string uploadFilePath = @”C:\example.html”; […]

Updated on     Kisan Patel

Download files using the FTP in C#

To download files using the File Transfer Protocol (FTP), you need to use the System.Net.FtpWebRequest class. FtpWebRequest request = (FtpWebRequest)WebRequest.Create(“ftp://example.com/bootstrap-theme.css”); […]

Updated on     Kisan Patel

Get the .NET Framework Directory path using C#

To get the full path to the folder that the current version of .NET, you nee to use the GetRuntimeDirectoryRuntimeDirectory […]

Updated on     Kisan Patel

Get Windows Service Dependencies using C#

To Get the services that depend on the current service, you need to use DependentServices property of ServiceController class. class […]

Updated on     Kisan Patel

Stop and Start Service using C# ServiceController class

To programmatically start and stop a service that your application interacts with, you need to use the System.ServiceProcess.ServiceController class. ServiceController […]

Updated on     Kisan Patel