Category : ASP.NET Projects

Home » Archive by category : ASP.NET Projects (paged 2)

Complete ASPX Code:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <style type="text/css"> .clsTxt { width: 200px; min-height: 25px; max-height: 200px; resize: none; } </style> <script> function resizeTextBox(txt) { txt.style.height = "1px"; txt.style.height = (1 + txt.scrollHeight) + "px"; } </script> </head> <body> <form id="form1" runat="server"> <div> <table> <tr> <td>Description: ..

Read more

ASPX Complete Code:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Reset all fields using jQuery</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type="text/javascript"> function resetAllControls() { $("#form1").find('input:text, input:password, input:file, select, textarea').val(''); $("#form1").find('input:radio, input:checkbox').prop('checked', false).prop('selected', false); }; </script> </head> <body> <form id="form1" runat="server"> <div> <fieldset style="width: 370px"> <legend>Application form</legend> <div> <table cellspacing="2"> <tr> <td>Full Name ..

Read more

ASPX Code:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <style type="text/css"> .messagealert { width: 100%; position: fixed; top:0px; z-index: 100000; padding: 0; font-size: 15px; } </style> <script type="text/javascript"> function ShowMessage(message, messagetype) { var cssclass; switch (messagetype) ..

Read more

It's time to update my blog engine which I published some time ago. The updated version is now based on ASP MVC 4 and uses Twitter Bootstrap 3 instead of a custom CSS file. In this post I will give a short overview over the things that were changed. Features/Setup The features of the blog ..

Read more

Step 1: Call the page where you code for image merging : Step 2:  Add the below code in code behind:- using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; protected void Page_Load(object sender, EventArgs e) { string ThumbnailPath = Server.MapPath(@"images/testimage.jpg"); string watermark =Server.MapPath(@"images/watermark.png"); drawimagewm(ThumbnailPath, watermark, 50, 50); } public void drawimage(string imageurl, string watermark, int startx, int ..

Read more

Step 1: Call the page where you code for image merging : Image1.ImageUrl = "dynamicimage.aspx"; Step 2: Dynamic Code for image generation and merging (dynamicimage.aspx/dynamicimage.aspx.cs) using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; protected void Page_Load(object sender, EventArgs e) { string testimage = Server.MapPath(@"images/het_image.jpg"); getimage(testimage, 400, 400); // can set imageurl, max-width and max-height using query string… ..

Read more

Step 1: Add the below namesapce at the top of the code behind. using System.Net; using System.Text.RegularExpressions; using System.IO; Step 2: Add the following method which will upload the file. public string UploadFile() { try { string filePath = Server.MapPath(@"FolderNamefile.jpg"); string FtpUrl = "ftp://ftp.domain.com/"; string userName = "ftp_user"; string password = "ftp_password"; string UploadDirectory = ..

Read more

In cryptography, SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function designed by the United States National Security Agency and is a U.S. Federal Information Processing Standard published by the United States NIST.[2] SHA-1 produces a 160-bit (20-byte) hash value known as a message digest. A SHA-1 hash value is typically rendered as a ..

Read more

E-Gift Shoppy Project is the advance characteristic which is provided by e-commerce websites to enhance the customers experience in making purchases online and it is also known as ‘shopping cart’ in technical terms of E-commerce World. The business-to-consumer aspect of electronic commerce is the most visible business use of the World Wide Web. The goal ..

Read more

This payroll system was created using ASP .NET code. This can be used as a Mini project or MCA final year projects and diploma projects. Engineering students also use this as their final year projects. Its a free downloadable project. Make use of it. Project title : Payroll System Front End :ASP.net Back End : ..

Read more