15,996,462 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 .NET 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 Member 15341738 (Top 9 by date)
Member 15341738
6-Aug-22 4:14am
View
Hello Richard, thank you for your input. I have applied the suggested code changes, unfortunately at the line "return new HttpContentResult(content);" I am getting an error: Cannot implicitly convert type 'HttpContentResult' to 'Microsoft.AspNetCore.Mvc.ActionResult.
Member 15341738
22-Jul-22 8:03am
View
Yes, that worked. Thanks!
Member 15341738
13-Jun-22 6:22am
View
We aren't using it, but this page is designated to be shown to the page's visitor who uses it.
Member 15341738
23-Dec-21 4:36am
View
Unfortunately sending emails is not possible in Azure SQL Server, which we are using (as far as I know).
Member 15341738
26-Oct-21 14:32pm
View
Damn, sorry I have pasted wrong version of my code. I have updated the question.
Member 15341738
7-Oct-21 10:32am
View
Now it works perfectly, thanks!
Member 15341738
7-Oct-21 8:49am
View
Richard you are right, I guess I can remove the percentage from the input and add it in it's description. But if I change this line to:
const calc2 = (Math.round(ebitImpactdkk / this.state.ebitBaseline ) * 100) || 0;
I am getting either 100, or 0.
Member 15341738
27-Sep-21 17:42pm
View
That is correct, yes. I am sorry if my question is hard to understand, but english is not my native language.
Member 15341738
31-Aug-21 3:23am
View
Thank you for your reply. I have followed your advice and the null happens when I get to the x2 variable. In general the point of this code is to parse XML response from the server and catch if it has an iban element in it. If it doesn't, then the NullReferenceException happens. I just don't know how to change the code to prevent it from happening, I am also not very familiar with XDocument library which parses the XML.
Show More