15,893,487 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Mohamed Hasan Shali (Top 14 by date)
Mohamed Hasan Shali
25-Feb-16 0:37am
View
I have bind datatable value on listview.
One column have download button on listview when user click download button I need get selected row value.
Issues is when I am clik download button row is not selected.
Please help how to get row value when I am click download button.
Mohamed Hasan Shali
6-Oct-15 13:12pm
View
we need uptime percentage.
var uptime = hm;
var downtime = hm - dm;
double up = uptime.Ticks / 6000;
double dt = downtime.Ticks / 6000;
double percentage = (double)(up / (up + dt) * 100);
this is my calculation but I didn't get exat data.
Mohamed Hasan Shali
6-Oct-15 12:52pm
View
yes I cannot get anything
Mohamed Hasan Shali
6-Oct-15 2:07am
View
How to calculate uptime percentage by timediff?
Mohamed Hasan Shali
6-Oct-15 2:07am
View
Maciej Los @ how to calculate uptime percentage by duration?
Mohamed Hasan Shali
22-Sep-15 2:51am
View
Mika @ Thanks Its working Execellent
Mohamed Hasan Shali
21-Sep-15 7:15am
View
First xml different see xml format below
Mohamed Hasan Shali
21-Sep-15 7:10am
View
Mika @ Please check this code also
var querya = from item1 in element1.Descendants("host")
join item2 in element2.Descendants("hoststatus")
on item1.Attribute("id").Value equals item2.Elements("host_id").First().Value
where item1.Elements("hostgroup").Attributes("id").ToString() =="3131"
select new
{
Host = item2.Elements("display_name").First().Value,
UpTime = item2.Elements("last_time_up").First().Value,
Alias = item2.Elements("alias").First().Value
};
Mohamed Hasan Shali
21-Sep-15 7:07am
View
Please find my xml format below. It have difference hostgroup id="2081" suppose user select id is 2082. I need filter and compare by host id.
Mohamed Hasan Shali
21-Sep-15 6:58am
View
Deleted
Can you my code below
Mohamed Hasan Shali
21-Sep-15 6:30am
View
I am using this code working is fine but i need with where condition.
I changed code like this but i didnot get response.
please see my code. where condition check on hostgroup id="2080"
var querya = from item1 in element1.Descendants("host")
where item1.Attribute("id").Value.ToString() == "3131"
join item2 in element2.Descendants("hoststatus")
on item1.Attribute("id").Value equals item2.Elements("host_id").First().Value
select new
{
Host = item2.Elements("display_name").First().Value,
UpTime = item2.Elements("last_time_up").First().Value,
Alias = item2.Elements("alias").First().Value
};
Mohamed Hasan Shali
5-Aug-15 3:11am
View
i am in stuck on add background image
Mohamed Hasan Shali
3-Aug-15 3:27am
View
Yeah! I saw that but I need change similar in this button
see the Image
Mohamed Hasan Shali
29-Jul-15 8:12am
View
Deleted
Thanks Mr.Original Giff,I need button press type and similar see the link
Click Link
Show More