ASP .Net
Encription Decription
05/04/2012 09:38
private const string cryptoKey = "cryptoKey";
// The Initialization Vector for the DES encryption routine
private static readonly byte[] IV =
...
Timer in c#.net
22/03/2012 17:30
<asp:ScriptManager...
html encode and decode
20/03/2012 18:39
protected void Page_Load(object sender, EventArgs e)
{
// This could mess up HTML.
string text = "you & me > them"; // 1
// Replace > with >
string htmlEncoded = Server.HtmlEncode(text); // 2
// Now has the > again.
string original =...
datatable dynamic source
20/03/2012 18:00
//Create a object of Datatable
DataTable dynamicTable = new DataTable();
//DataRow
...
pdf export in asp.net
12/03/2012 14:12
https://bytes.com/topic/net/insights/912717-how-export-gridview-data-pdf
https://forums.asp.net/t/1412788.aspx
https://www.martinwilley.com/net/code/createpdf.html
Error handling Logging
12/03/2012 10:09
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.XPath;
using System.Xml.Linq;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms;
namespace Cflow
{
public class...
Reporting-Pass the parameter to filter the record-rdlc
12/03/2012 09:40
protected void Page_Load(object sender, EventArgs e)
{
try
{
if (IsPostBack == false)
...
URL Rewriting Tutorial Asp.Net
07/03/2012 19:12
https://dotnetguts.blogspot.in/2008/07/url-rewriting-with-urlrewriternet.html
Simplest way to Apply Globalization and Localization to Asp.net Application
07/03/2012 19:08
https://dotnetguts.blogspot.in/2007/02/ease-of-applying-globalization-and.html
Export DataGrid to Excel
07/03/2012 19:04
protected void btnExportToExcel_Click(object sender, EventArgs e)
{
DataTable dtOriginal = new DataTable();
dtOriginal = ReturnTable(); //Return Table consisting data
//Create Tempory Table
DataTable dtTemp = new DataTable();
//Creating Header Row
dtTemp.Columns.Add("<b>Employee...