Showing posts from 2011

how to encrypt password in ASP.net using C#

if you are searching for an encrypting password hashing algorithm than you are at right place, make sure before using this method that this algo is one way, means it has no decrypt method. just copy and past here is the code for your aspx.cs file. …

Heading Types in HTML

there are 6 type of heading in html This is a heading This is a heading This is a heading This is a heading This is a heading This is a heading

how to make simple html page

HTML stands for Hyper Text Markup Language, in order to make a simple html page you just need to copy the below code in any editor such as note pad or you can use Dream viewer, and save the file as test.html here is the code " Page Titl…

redirect in asp.net

it is very simple to redirect your webpage to another webpage or just to another website just copy the below code in the event where you want to use. code for aspx.cs Response.Redirect("mypage.aspx");

how to disable the asp.net button on page load Server side

Mention blow code will help you to make an asp.net button disable on server side page load event you can use it as per your requirement i.e. onclick event or where ever your want. Code in .aspx page Code aspx.cs File protected void Page_Load(obje…

Print using Javascript

Mention below code will help you to print the data in a div tag and is 100% tested on all browsers, you just need to copy and past and change the parameter as per your requirement.. Function call on button's onclientClick event copy the below …

Import Gmail Contact and Email Address in asp.net c#

1) add these dll in you application:- Right click on Solution Explorer and add reference option. using Google.Contacts; using Google.GData.Client; using Google.GData.Contacts; using Google.GData.Extensions; 2) Drag a button which name is…

How To Add Tool Tip for DropDownList items in Asp.Net

1 < asp:DropDownList   ID = "DropDownList1"   runat = "server"   ondatabound = "DropDownList1_DataBound" > 2 </ asp:DropDownList > Code for .CS File protected   void   DropDownList1_DataBound( obje…

Load More
That is All