Log4Net Example in C# Console Application
[code lang=”c#”] using System; using System.Collections.Generic; using System.Linq; using System.Text; using log4net; using log4net.Config; using System.IO; namespace HowToSolveNow { class Program { private static ILog logger; #region Logging Functions static […]
Display a DataGrid by importing a CSV file in C#
Here is the steps to show a datagrid in a windows form from a CSV file. Step 1. Put one button(name=brnbrowse) in your windows form Step 2. Put one openFileDialog […]
How to send HTTPS Post Request with C#
Please follow the below steps to send https post request. Create new C# website application. Open the default code behind file i.e. Default.aspx.cs add the following two namespace using System.Security.Cryptography.X509Certificates; […]