Monday, May 28, 2012

Insert, Delete and Update in generic list in C#

Introduction This Code for Insert Update and Delete in Generic List in ASP.Net with C# Using This Code Insert Update and Delete in List using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace GenericList {     public partial class frmContact : Form     {        ...

Read more »

C# Code To make thumbnails of full size images

Intriduction   This Code use for to mkae thumbnailspf full size images..   This is to written in fileupload code behind if (FileUpload4.FileName != "") { string appPath = Request.PhysicalApplicationPath; path = appPath + "Images\\" + FileUpload4.FileName; path6 = "Images/Thumbnail/" + FileUpload4.FileName; FileUpload4.SaveAs(Server.MapPath("../Images/" + FileUpload4.FileName)); System.Drawing.Image...

Read more »

Online Payments Using Paypal with Asp.Net with C#

Introduction this code for Online Payments Using Paypal with Asp.Net Description I am going to explain Step by Step Procedure, about integrating PayPal account with asp. Step-1  Create a First Paypal Merchant Account.             --this Account Create for Salling purpose. Step-2  Create a Second Paypal Buyer Account.              --this Account...

Read more »

Sunday, May 27, 2012

Open PDF file in new browser tab using ASP.NET with C#

Introduction This tip describes how to open a PDF file in a new browser tab using ASP.NET with C#. Using the code We create a folder in our project and store the PDF in this folder.   //Java Script for that <script type="text/javascript">     function openPDF() {         var strMessage = '<%= p%>';         var...

Read more »

Sending Email using C# and ASP.Net

Introduction This tip describes how to send email using ASP.NET with C# and using a GMail or Yahoo! port. Background This code uses the System.Net.Mail namespace. Using the code //Sending Mail Using Gmail const string FromAddress = "your gmail id";//For Example tejasbhalani@gmail.com string Subject = TextBox6.Text; String Body = TextBox4.Text; System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage(); mail.To.Add(ToAddress); mail.From...

Read more »

Followers