35688 1
Connect to SQL Server in C# (example using Console application)
In this article, I will provide working console application example in C# to connect to SQL server database and explain about connection string C# with various connection strings sample.
Type
Article
34922 0
How to read JSON data in C# (Example using Console app & ASP.NET MVC)?
In this article, I will provide you simple way to read JSON data in C# using ASP.NET MVC and Console application code sample & example to read dynamic JSON in C#.
Type
Article
28517 3
How to remove or replace all special characters from a string in C#?

I want to send an XML data to server, and to make the XML valid i have to remove all the special characters(@,#,%..) etc from the string of address and send it to server , as it accpets XML data without it, otherwise it throws error

So how can remove special characters from string using C# in ASP.NET?

Suppose my String has

...
Type
Question
25336 1
Read excel file in C# (.XLSX or .XLS using OLEDB / EPPlus or Interop)
In this article, I am going to provide you code with explanation to read excel in C# using OLEDB OR using EPPlus OR using Interop in Console application.
Type
Article
24552 0
How to read pdf file in C#? (Working example using iTextSharp)
In this article, I will provide you code and working example to read pdf file using itextsharp in C#, using console application example, you can use it in ASP.NET also.
Type
Article


23795 1
Encrypt password & decrypt it (C# Console application example)
In this article, I am going to provide code in C# to encrypt password and decrypt it using AES in Console application example & also shows MD5 password hashing example.
Type
Article
23631 3
How do i format or beautify code in Visual Studio code?

I have just started using Visual Studio code, but i am not able to format code in it, I have tried ctrl k+ Ctrl d but it doesn't work, any helpful link for it?

...
Type
Question
22157 2
Generate Class from XSD in C# (Using CMD or Visual Studio)
In this article, I have explained an easy way to generate class file from XSD in C# using XSD.exe in command prompt or using Visual Studio.
Type
Article
21164 0
Get IP Address using C# (Local and Public IP Example)
In this article, I have provided sample code to get client ip address using C#, I will be providing example of both, public IP and local IP using Console application.
Type
Article
20396 1
Ways to Convert Datatable to List in C# (with performance test example)
This article explains you the various ways to convert Datatable to List using C# with example, this article also shows a small performance test of linq and foreach method.
Type
Article

Page 1 of 24