TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
arun sahani
NA
379
0
Count the processed column data
Apr 30 2019 1:56 AM
Hi
I have shown ping status as shown from view. but cannot count that status field; as it is not stored in table.column.
<th>
@Html.DisplayNameFor(model => model.SERVER_IP)
</th>
<th>
</th>
@foreach (var item in Model)
{
<tr >
<td>
@Html.DisplayFor(modelItem => item.SERVER_IP)
</td>
<td>
@{
string myip = item.SERVER_UP;
Ping myPing = new Ping();
PingReply reply = myPing.Send(myip, 1000);
if (reply != null)
{
ViewData["ip_stat"] = reply.Status;
}
}
@ViewData["ip_stat"]
</td>
</tr>
@ ARUN SAHANI
Reply
Answers (
1
)
how to add two or more projects in asp.net
JSON String Formation