ASP.NET Hosting :: How to send email via .NET Application

.NET 2.0 has included System.Net.Mail code namespace for supporting email programming with .NET

Following is the code snippets for how to send mail from . . . → Read More: ASP.NET Hosting :: How to send email via .NET Application

ASPHostCentral.com :: What to choose: Free Hosting, Shared Hosting or Dedicated Hosting

There are many web hosting options available nowadays: free web hosting, shared hosting, dedicated server, and the list goes on. All these options serve the same purpose, which is hosting your content so that it can be accessed and viewed by people on the Internet. The major difference is how each is structured as well as . . . → Read More: ASPHostCentral.com :: What to choose: Free Hosting, Shared Hosting or Dedicated Hosting

ASP.NET Hosting :: How to Fix The SMTP Host was not Specified

In most of my code I have an error notification function that sends me emails when I have exceptions.  The basic call is

Dim smtp As New System.Net.Mail.SmtpClient()
smtp.Send(msg)

The mail server can be specified in the New call, but hard coding it will cause problems if the mailserver ever changes.

The mailserver can be specified in the web.config or . . . → Read More: ASP.NET Hosting :: How to Fix The SMTP Host was not Specified

ASP.NET 4 Hosting :: How to Export GridView ASP.NET 2 to Excel

In this article, we will see how to Export an ASP.Net 2.0 GridView to Excel. 

The focus of the article is the Export to Excel functionality – the Gridview and it’s data binding are only for demonstrating the . . . → Read More: ASP.NET 4 Hosting :: How to Export GridView ASP.NET 2 to Excel

ASP.NET Hosting :: Upload a File in ASP.NET using VB coding

. . . → Read More: ASP.NET Hosting :: Upload a File in ASP.NET using VB coding

ASP.NET Hosting :: Call ASP.Net Server Side Function with JQuery Ajax Request

For the purpose of simple demonstration of Jquery AJAX Request, I am going to call an Asp.Net server side method from client side, send values to this function as parameters and get and display the returned value back to the client. The example included is built using jquery . . . → Read More: ASP.NET Hosting :: Call ASP.Net Server Side Function with JQuery Ajax Request

ASP.NET Hosting :: Using JavaScript with ASP.Net GridView Control

In this Article, I am explaining how to make use JavaScript in the ASP.Net GridView control and make it more elegant by reducing postbacks.

Functions such as

1.     Highlighting selected row
2.     Check/Uncheck all records using single checkbox.
3.     Highlight row on mouseover event.

The above three functions can be easily achieved using JavaScript thus . . . → Read More: ASP.NET Hosting :: Using JavaScript with ASP.Net GridView Control

ASP.NET 4 Hosting :: Using the AJAX Accordion Control in ASP.NET

Introduction

This tutorial will cover the AJAX Accordion Control and how to set it up and use it.  This tutorial will also cover styling the Accordion control with CSS so that it . . . → Read More: ASP.NET 4 Hosting :: Using the AJAX Accordion Control in ASP.NET

ASP.NET Hosting :: How to Send Mail From ASP.NET on Shared Hosting

I’ve been trying to send email on a shared windows hosting from an Asp.NET page.  I finally found the solution for the problem.  It may be useful for those who have similar problems.

(I used . . . → Read More: ASP.NET Hosting :: How to Send Mail From ASP.NET on Shared Hosting

ASP.NET Hosting :: Error – “Server Error in ‘/application name’ Application

You may receive the following error message while browsing an asp.net application

“Server Error in ‘/application name’ Application
——————————————————————————–

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on . . . → Read More: ASP.NET Hosting :: Error – “Server Error in ‘/application name’ Application

Sponsors

Advertise Here

Best Blog Hosting Provider

Cheap Reseller Hosting

Best European ASP.NET 4.0 Hosting Provider