 |
Background
This article continues my previous one, to add watermark in PDF files, now we will go ahead and look how to add password in PDF File. Please check Add WaterMark In PDF Files.
The code
Imports System
Imports System.IO
Imports iTextSharp.text
By naimish
Last Message By tatillo
|
16 14,953 |
 |
Introduction
Quite Often, We may wish to inform the user of a successful or an unsuccessful operation in a web form application. An effective way to communicate an important message to the user is through the use a MessageBox or a JavaScript "alert".
The MessageBox class in the...
By naimish
Last Message By shabbir
|
14 9,048 |
 |
Introduction
Exporting data from a data table to Excel or CSV is one of the most common functionality required in ASP.NET Web Application or .NET Window application. Users can download the data from the data grid into an Excel spreadsheet or CSV file for offline verification and/or computation....
By naimish
Last Message By ice123456
|
11 12,197 |
 |
Introduction
Have you ever face the problem of merging so many word docs into a single one ?!!!
Heres the solution ;)
Merge multiple word documents into a single document using .Net code.
Background
This asset is used to merge multiple word documents into a single document. If you...
By naimish
Last Message By hadstepre
|
10 6,172 |
 |
Introduction
Zipping Files and folder without using 3rd party tools
Background
Just add reference to the solution for vjslib available with C# .NET
The code
By naimish
Last Message By amplemaddy
|
9 16,495 |
 |
Introduction
Actually when any project is on production and when any error comes than that error is captured in log file. Very easy for programmer as well as client to know about the type of error.
Background
This is an ASP.NET file which is used to log the errors and warning in a file. ...
By naimish
Last Message By shabbir
|
8 2,552 |
 |
Introduction
At present many are using the Production URL with the same cuid (User id). There is no log maintained about the login of the user. Even when some user logs in to the system and does some changes in the contents either intentionally or accidentally, it is difficult to track it. ...
By naimish
Last Message By deonrock
|
7 4,515 |
 |
What are the different ways of state management in ASP.NET?
There are basically two ways for state management:
Client side state management: ViewState, Cookies, Hiddenfield, QueryString
Server side state management: Session variable, Application variable Cache can be both server side and...
By sanjitsil
Last Message By arslan220
|
6 5,287 |
 |
Introduction
In this article we will examine how to parse an RSS feed via an ASP.NET Web page using DataGrid. You can read more about RSS Feeds
Getting the Remote XML Data Into a DataGrid
In order to display the data from the ASPMessageboard.com RSS feed, the first thing we...
By pradeep
Last Message By clocking
|
5 12,879 |
 |
Introduction
Many times we need to check or validations for numeric/string/Alphanumeric values.
Background
It provides some methods in C# .Net, which can be resue in your web or windows application.
The code
By naimish
Last Message By almedajohnson
|
5 8,723 |
 |
ASP .NET has been the Microsoft lovers’ de facto tool for creating advanced web pages. ASP’s ability to adapt to the modern web requirements and the stability has made ASP one of the leaders in web application development.
With the release of Visual Studio .NET 3.5 in November 2007, Microsoft...
By coderzone
Last Message By msn90
|
4 3,141 |
 |
This is an example of Server.Transfer and Context Handler. Through this we can get the multiple values of previous form.
In this page we are displaying data from previous form. We can use this technique for multiple form registration form.
Code (ContextParent.aspx.cs): -
private void...
By hanusoft
Last Message By narayan
|
3 18,658 |
 |
Uploading of File
When we are talking about uploading of file, we mean to say upload file physically and save into a particular location in server. We can also upload file that means save file into database. Let us first examine how we can upload file physically in a particular location in...
By sanjitsil
Last Message By shabbir
|
3 15,309 |
 |
Problem
We encounter a situation where we need to execute the stored procedure passing XML string as parameter. The SP executor is used to execute the stored procedure with dataset as input from the application. It converts the dataset into XML string and passes it to the Store procedure
...
By naimish
Last Message By shabbir
|
3 7,833 |
 |
Introduction
Usually in Projects we need some images which are in icon format. Generally we get images in .JPG OR .BMP format. This code snippet when compiled and executed on .Net machine will convert the JP OR BMP file in to .ico format.
The code
Code: .NET
using System;
using...
By naimish
Last Message By shabbir
|
3 18,793 |
 |
Introduction
The functioned mentioned manipulates the already added bar graph(Chart object) using VB.NET(front end).
One can change the value of the bar graphs, the properties of the chart at runtime. Some of the properties are accessed in the function.
Validation can also been...
By naimish
Last Message By Larrabee
|
3 6,525 |
 |
Introduction
A very common and extremely useful functionality in Web Developement is sending emails from a Web Application. Some of the very common purposes of sending emails from a web application are, to send feedback to the webmaster of a site or informing a forum member of new post in a...
By decodec
Last Message By haileyjonathan
|
2 8,408 |
 |
What Is A Cookie
A cookie is a small text file sent to a web user's computer by a website. A cookie can be used to identify that user to the website on their next visit. Common uses include remembering login data, user preferences, and providing favorites lists.
How Does A Cookie Work
...
By pradeep
Last Message By zaanrider
|
2 13,738 |
 |
What is Partial Page Rendering?
Partial page rendering is a concept of rendering only a portion of web a page instead of whole page and thus improve user experience and makes the response time quicker. It can be achieved using Ajax.
What is Ajax?
Ajax means "Asynchronous Javascript and...
By sanjitsil
Last Message By shabbir
|
2 4,997 |
 |
Master Pages in ASP.NET are files that have .master extensions. ASP.NET master pages allow us to create a consistent layout and look & feel for all the pages or a group of pages in web application. A page which uses a master page is known as the content page. We can then create individual content...
By sanjitsil
Last Message By gkumar
|
2 5,735 |