Showing posts from October, 2012

How to print a web page using javascript.

In this web Programming tutorial we will learn that how we can add Printing functionality on our web page using javascript in a asp.net or simple html page. see the below code and just copy and paste it. Code to use in HTML part you want to prin…

how to shutdown you computer from website in asp.net using c#

In this web-healer.blogspot.com 's web programming tutorial we will learn that how we can shutdown our computer by clicking on a button from our website. So below is the dream code just copy and paste it. and use it in your button's onClick e…

how to sow date and time on a asp.net page using c#

In this web-healer.blogspot.com 's web programming tutorial we will learn that how we can show simple date and time on our web page in asp.net using c#. just copy and paste the below code. if (!Page.IsPostBack) { lbl_date.T…

import to excel in asp.net using c#

In this web programming tutorial we will learn that how we can import our Gridview data into excel file by click on a link button from our webpage in asp.net using c#. protected void LinkButton1_Click(object sender, EventArgs e) { Resp…

how to clear all gridview elements in aps.net using c#

In this simple web Programming tutorial we will learn that how we can clear all Controls available in a gridview by just one click instead clearing one by one. like as we clear a form's text fields or other form elements. just copy the below code…

how to define session as string in asp.net using c#

In this simple web programming tutorial we will learn that how we can define a Session as string in asp.net using C# to assign it to a string veriable. see the written below code and just copy and paste it. string data = Session["Data_var&q…

Format String into Money Format in asp.net using c#

In this programming Tutorial we will learn that how we can format amount string into money. below is the code just copy and paste and use it. string charges = "125.35"; lbl_charges_total.Text = string.Format("{0:###,###,##0.00}&quo…

how to add new row in gridview in asp.net using c#

In this web programming tutorial we will learn how we can add new column in a Gridview when there is no record and we want to show a proper message that there is no data against particular search in asp.net using c#. see the below code and copy and p…

Load More
That is All