Showing posts from May, 2012

how to upload photo or picture in asp.net using c#

In this web programming tutorial we will learn that how we can upload a picture or photo in asp.net using c#. just copy and paste below code in you .cs file. protected void btn_upload_Click(object sender, EventArgs e) { imageflag = 1; …

how to Upload Image or file on FTP in Asp.net using c#

In this web programming tutorial we will learn that how we can Upload Image or file on FTP in Asp.net File Uploader using c#. copy the below code in your .cs file. public void ftpfile(string ftpfilepath) { string ftphost = "your domain …

how to disable right click using jquery

In this web programming tutorial we will learn that how we can prevent right click functionality in browser (this code snipit will work in all browsers).

how to generate image button dynamically in asp.net using c#

In this web programming tutorial we will learn that how we can create an image button dynamically in asp.net using c#. see the below code and put it in your .cs file in page load event. protected void Page_Load(object sender, EventArgs e) { …

how to add text to image in asp.net using c#

In this web programming tutorial we will learn that how we can add some text on an image in asp.net using c#.just copy and page the code and add it in your .cs file. using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D…

how to use span tag on a web page using html

In this web programming tutorial we will learn about span tag by using it on a web page using html. span tag is used to provide an additional structure to an html document. It is used to group and apply style sheet to inline elements of a web page…

how to use div tag on a web page using html

In this web programming tutorial we will learn that how we can use div tag in an html document or in a web page. div tag is normally used to define a section in an html document or in a web page div tag is a pair tag and must be used a closing tag i…

how to use font tag in html

In this web programming tutorial we will learn that how we can use font tag in an html document or in a web page. this text is with Verdana font this text is with arial font this text is with helvitica font this text is with impact font …

how to use different format text in html

In this web programming tutorial we will learn that how we can use different type of text format in an web page or in an html document. see the below code. here is the code to make text bold in order to make text bold output: in order to make t…

how to use line break tag using html

In this web programming tutorial we will learn that how we can use Line Break tag  in an html document tag. Line breaks are used to decide where the text will break on a line or continue to the end of the window. it can be used to move the control t…

how to use paragraph tag in html

in this web programming tutorial we will learn that how we can use paragraph tag in an html document or in a web page. paragraph tag are used in a document to add text in such a way that it will automatically adjust the end of line to suit the windo…

how to use heading tag in html

in this web programming tutorial we will learn that how we can use heading tag heading in a html page. headings are very important part of any web page. it is used to display different type of heading in HTML document heading tag is a pair tag, …

how to create basic html page

in this web programming tutorial we will learn that how we can create a basic html page. just copy and paste the below code in any editor such as note pad and save the file as test.html. just double click to run the page. my first page …

How to generate random numbers in asp.net using c#

in this we programming tutorial we will learn that how we can create random number in asp.net using c#. see the below code and just copy and paste. Random rand = new Random((int)DateTime.Now.Ticks); int numIterations = 0; numIteratio…

Load More
That is All