Hi all,
Total newbie here. I've been trying to accomplish this for 4 days and decided to ask for help here.
I'm using ASP.NET Web Forms C#
I have a gridview that gets two columns from a SqlDataSource. Clomuns are "DeviceName" and "IPAddress".  I have a TemplateField with two images (asp:Image) set to Visible="False". Here's what I'm trying to do...
Loop through the GridView column [IPAddress] and send a ping to each IP address. If the reply is success, then Image1.Visible="True" else Image2.Visible="true" for each row in the GridView.
This works with the code below. But only for the one IP in "destIP". I can't figure out how to do this for all IPs in the GridView column. I've removed all my failed code attempts and just left what works realizing that this won't loop through the GV..
Any help would be appreiciated.
Thanks
ASPX...

Go to the complete details ...