Hai
How to ping ip address in asp.net using vb.net,i have more than 20 ip address it load in grid view,if ip address is ping it show connected icon in grid view and if not it show disconnected icon.I have done but pining time is too slow if more than 20
ip address,here i put code for change the image icon based on pining address.
Protected Sub gvDevice_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles gvDevice.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
Dim imgStatuss As Image = e.Row.FindControl("imgStatus")
Dim status As String = DataBinder.Eval(e.Row.DataItem, "IPAddress")
Dim ping As Ping = New Ping()
Dim pingreply As PingReply = ping.Send(status)'---->status is IP Address
Dim reply As String = pingreply.Status
If (reply = ...
Go to the complete details ...