Category Archives: C#

Full page waternark using MVC and iTextSharp


PDF full page watermark using MVC and iTextSharp Download : Source Code Most of the time we have requirement to generate pdf with water mark to secure and tried to protect from forgery. Here, I will explain how to implement iTextSharp dll … Continue reading

Posted in Asp.Net, C#, iTextSharp, MVC 5.0, Pdf watermark | Leave a comment

Encrypting and Decrypting web.config Information


LiveJournal Tags: Encryption Decryption Web.config file,Encryption,Decryption,Web.config The most sensitive information stored in web.config file can be the connection string. You do not want to disclose the information related to your database to all the users where the application is deployed. … Continue reading

Posted in Asp.Net, C# | Tagged | 7 Comments

Custom Paging And Sorting Using Oracle Stored Procedure.


Here I will explain how to create Oracle stored procedure for custom paging,sorting and base on culture .Normally you should know how many record found in table base on where clause as well as required dynamic sorting and paging.All these … Continue reading

Posted in Asp.Net, C#, Database | Tagged | 1 Comment

Search ListBox items using JavaScript


Technorati Tags: Search,ListBox,item,using,javascript This example shows how to select ListItems in the ListBox based from the TextBox values using JavaScript. Here’s the code block below. <html xmlns=”http://www.w3.org/1999/xhtml&#8221; > <head id=”Head1″ runat=”server”> <title>Demo</title> </head> <script type=”text/javascript” language=”javascript”> function SearchList() { var … Continue reading

Posted in Asp.Net, C# | Tagged , | 1 Comment

C# String Tips


Technorati Tags: C# String Tips The .NET string class is quite comprehensive, yet some common string functions are missing or not entirely obvious. This article provides quick tips on using .NET strings. Fill a String with Repeating Characters To fill … Continue reading

Posted in C#, Tips | Tagged | 3 Comments

Dynamic Create DataTable from Generic List using Reflection


I have few methods that returns different Generic Lists.But main thing here I am using Reflection to convert Generic List into Datatable. //Due To Html tag problem I am using single quote with generic Type T otherwise you dont need … Continue reading

Posted in C# | Tagged , , | 1 Comment

Create Dynamic Connection with Crystal Report using Asp.net and Oracle Stored Procedure


  Technorati Tags: Create Dynamic Connection with Crystal Report using Asp.net and Oracle Stored Procedure   Dynamic crystal report connection string require d for transfer application dev to test.Normally developer working in devlopment server and after complet the development it … Continue reading

Posted in C#, Database | Tagged | 8 Comments