I am processing some xml document. while reading xml value through dataset, I am getting below error.
System.Xml.XmlException: ''', hexadecimal value 0x02, is an invalid character. Line 1, position 989.'
How to avoid this...? How to validate and…
I am using this code to open a pdf file from a url;
var DocPath = "http://mydomain.com/Docs/MyDoc.PDF";
However I am getting the 'Cannot display PDF (MyDoc.PDF cannot be opened)' error.
In Visual Studio 2023 Preview Version
Object reference not set to an instance of an object.
at Microsoft.VisualStudio.DesignTools.SurfaceDesigner.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor…
I have a small simple WPF application (I am learing by doing).
I made some custom drawing on a Canvas declared in XAML, by using code in the corresponding C# file.
Now I want to access the canvas from another thread to be able to apply geometric…
I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui), and I have used the…
I am developing an app using C# Windows Forms with framework DevExpress.
My IDE are Visual Studio Community 2022.
It is all okay.
But after I am updating to Version 17.6.0 the window that I develop cannot load design mode with error message…
Attempting to make api calls to Yelp Fusion via .Net 3.1 api but receiving the following error:
Error Message: The SSL connection could not be established, see inner exception. Source: System.Net.Http Trace: at…
I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly.
I have SQL Server Database Named EmployeesDB that contains 4 Tables as following:
1. Employees Table which is the Parent Table in this Example.
I am new to ASP.Net Core Identity and new to Encryption.
I followed the article @ https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=visual-studio
I created a new Web App using ASP.NET Core Web App…
We have a Xamarin Forms app in production that supports Intune. We used MAM policies for Intune support, and they are working.
Now it's failing on the Android platform because the device ID isn't retrieving to Intune. Therefore, the…
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
I used c# aot to compile lib for go use.
An exception occurs in lib and the process crashes.
I hope the process doesn't crash and that bugs can be reported.
How can I keep the process from crashing.
If it crashes, is there any way to find the location of…
I have a gridview with a population of students. If there are reject reasons, a button appears in the last column of the gridview. When the button is clicked, I want to make a call to the database to get the reject reason codes. My button click event…
In the Visits controller I want to populate the index page from api and not from entity model
I want to populate the html table with Visit Date and Notes
patid is being passed from earlier…
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
How do I scaffold view in MVC CORE , as it is failing due to lack of primary key
I am trying to create api using
CREATE TABLE public.visit…
I have created a form in the form of image 1, but at the time of execution, the distance between the controls increases and the size of the form also increases. What is the problem? Image 2 is at runtime.
I have also used TableLayoutPanel to place the…