Home | Contact Us | Download | Support | Purchase | Shopping Cart | Products


Product List
 
  "Great app, very easy to use and understand. I've used it for several different things. Sending HTML pages, standard emails, and others. Currently, the CRM application that we developed in ASP.NET sends .asf formatted call recordings dynamically from the system by attaching to an email. I am especially excited about direct writing into the MS SMTP directory as some of these files get quite large. "
Eugene
Interactivethink.com
 
More
Testimonies
aspNetEmail
Voted Number 1 ASP.NET Email Control
Voted Best Email Control


aspNetEmail
Runner Up ASP.NET Email Control
Voted Runner Up Email Control


aspNetEmail
Voted Number 1 ASP.NET Email Control
Voted Best Email Control


aspNetEmail
Voted Number 1 ASP.NET Email Control
Voted Best Email Control


aspNetEmail
Voted Number 1 ASP.NET Email Control
Voted Best Email Control


aspNetTraceRoute
Voted Runner Up Networking Control
Runner Up - Networking Control

Ping to a DataGrid

The following example demonstrates how to bind the results of a ping to a datagrid.

[C#]

private void Page_Load(object sender, System.EventArgs e)
{
	if( Page.IsPostBack )
	{
		string hostToPing = "www.yahoo.com";
		ReplyPacketCollection reply = IcmpClient.Ping( hostToPing, 4);
		DataGrid dg = new DataGrid();
		dg.DataSource = reply.ToDataTable();
		dg.DataBind();
		Page.Controls.Add( dg );
		
	}
}


[VB.NET]

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    If Page.IsPostBack Then
        Dim hostToPing As String = "www.yahoo.com"
        Dim reply As ReplyPacketCollection = IcmpClient.Ping(hostToPing, 4)
        Dim dg As New DataGrid()
        dg.DataSource = reply.ToDataTable()
        dg.DataBind()
        Page.Controls.Add(dg)
    End If

End Sub


 

 

 

 

 

 



The box is not shipped. aspNetPing is a downloadable product.