How to upload file and view those file in modal popup using gridview
I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…
Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox.
Hi Team, using ASP.Net web application report viewer page,Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox. Thanks, Shaik Masthan Babu.
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
C# class question
Hi, I have three schemas in my database accordingly CustomerA, CustomerB,Common. The CustomerA, CustomerB schemas will have same set of tables. the reason to have like two separate tables to provide the data privacy b/w customers and each schema will be…
Calendar scheduling using Metro Framework in c#
Good day to all Master, I am new making scheduling calendar look like this. I don't have any experience of this, now I want is to select multiple day. you can free download the source code of my…
System.ObjectDisposedException: 'Cannot access a disposed object. ObjectDisposed_ObjectName_Name', al momento de guardar mi lista de imagenes
My View in vue.js sends me the image arrangement to my api, which I want to save in a folder asynchronously and when I do the second round in my foreach to the second image it gives me the error. foreach (var imagen in imagenes) { ImagenesProducto…
could not load file or assembly'Microsoft.data.sqlclient'
how to solve this error
How to get assignedLicenses from Microsoft Graph
Hi, I am using a C# program to retrieve user information from Microsoft Graph. Currently I am passing the following URL to get the information I need. https://graph.microsoft.com/v1.0/users?$filter=accountEnabled eq true&$select=displayName,id I want…
Recognize whether the user is logged in
In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…
Can you recommend a PDF creation library in C#?
I'm about to start a new project and i will need to generate PDF files from C# code, what libraries do you recommend ?
Permutations Array?
Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…
Is it possible to create and set styles and/or template for combobox in c# only?
Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…
Azure Functions - Logging not working correctly in local
I have a simple dotnet-isolated Azure function written in .Net 8 which has 1 Http trigger function. I have another custom database logger which is added to this function to enable database logging. When I am executing the function, none of the Microsoft…
How to fix .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance Error.
Hello, I am seeing this error in the event logs: .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{2EB6DCDB-3250-4D7F-AA42-41B1B84113ED}'. HRESULT: 0x80040154. Process ID (decimal): 28340. Message…
How I get 300 DPI with 648 X 1016 Using SKBitmap
I am trying to PNG image to BMP image via using SKBitmap, the BMP image not set in 300 DPI why? below i mentioned my code, if there is any mistakes please correct my code using (SKBitmap pngBitmap = SKBitmap.Decode(inputFilePath)) { …
OpenXML Error when creating new WorksheetPart on deployed dll
So first off, my code works in a console application. I installed OpenXML via NuGet into the solution. I created a new solution that is a .NET dll library and installed openXML the same way and deployed the dll with the OpenXML dlls and when my dll is…
Why Dataset is empty?
Dear all, I am a beginner in C#. Can you please guide me on how to use parameters? I am not sure why ds.Table[0] is underlined in red. Could you please assist me in resolving this issue ?
Working with Access database via OleDbReader
Hey all I have no problem when all my access mdb are string! I'm using Access database engine 2010 to connect to mdb. The problem occurs when I have Boolean / Integer / Date fields: New OleDbCommand("INSERT INTO tableblah (strfield, intfield,…
Serializing a list of objects
Hello people! I have a structure of the form: public class MasterFiles { public GeneralLedgerAccounts GeneralLedgerAccounts { get; set; } public Customers Customers { get; set; } public Suppliers Suppliers { get; set; } public TaxTable…
The problem with the MediaElement in WPF .NET 8.0 not supporting relative paths for the media source,Why?
Hi, I'm attempting to utilize the MediaElement in WPF to play video files with either .mp4 or .wmv extensions. However, I've encountered issues when passing the source as a relative path or a Pack URI. Strangely, it works fine when I provide an absolute…