Simple C#.Net Encryption and Decryption for String

There are many ways is there to encrypt and decrypt the data in c#.Net. In this post we have simple sample code to implement the cryptography algorithm in C#.Net to encrypt and decrypt information, either passwords or connection strings. This code uses the System.Security.Cryptography namespace to do the encryption and decryption. Please find the code […]

C#.Net convert date to string and string formatting

It’s very easy to convert date time to string in C#.Net. To convert DateTime into string you can use String.Format function in C# ASP.Net. And to convert string into DateTime you can use Convert.ToDateTime function this post will show how to do this conversion. If you have Date Time value in the Data table and […]

Dynamically create TextBoxes with C#.Net on Windows Form

This article demonstrates how to dynamically create TextBoxes, CheckBox control with C# on Windows Form. the below codes dynamically creates TextBox and CheckBox controls, sets their IDs and positions, and then binds them to the Form panel. Method 1 private void Method1() { for(int i = 0; i

Proudly powered by WordPress   Premium Style Theme by