csharp

  1. H

    Question How to combine the C++ code with C# GUI?

    Hello, How can I combine the C++ code with C# GUI? For example, I want to have a C# window with a button on it and when I click on the button, then a message be shown with a C++ code. Any idea welcomed. Thank you.
  2. R

    How to check if the record exists with the same value in the database before insert

    Hello there, In my Blazor Server application, I am inserting a list of data into a database as follows with EF Core 6; public async Task AddStockAsync(List<GameBank> gameBank) { await _oyunPalasContext.GameBanks.AddRangeAsync(gameBank); await _oyunPalasContext.SaveChangesAsync(); } I...
  3. A

    Question converter does not exist?

    Hi I have all these classes in converter still I am getting this error It would be really helpful if you can tell me the cause behind this error as I checked everything and it is correct .
  4. A

    Resolved lots Name not exists errors

    Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'CCspInformations' could not be found (are you missing a using directive or an assembly reference?) Severity Code Description Project File Line...
  5. ahmedaziz

    Question Ajax request not return branches drop down List based on company drop down list selected value?

    I working on MVC razor page with .NET core 7 .I face issue Ajax request not return branches drop down list based on selected value from drop down list country . with another meaning I need cascade branch drop down list based on country drop down list by using ajax request . so data display...
  6. E

    C# change a 4 or 5 int number to cash value

    Good Afternoon, i have a text file that i parse the example is as shown below, 766,26/01/2021,16:51,6,3,2,Diesel,1249,15120,1888, 768,26/01/2021,17:33,5,1,1,Unleaded,1189,25230,3000, the end values so 1888 and 3000 are cash values there are a couple of transactions that are in the 100 mark...
  7. Semih

    getting the path of the output file

    Hi, I need to code a program that will archive every file output on a C# printer, but I couldn't find any library or resource that allows to get the path of the output file. How can I do that? For example, when a Word file is printed, the program will take the file path and make a copy of the...
  8. T

    Blazor MAUI blank screen on iOS

    I have a Blazor Hybrid MAUI App that works great on Android. However, when I compile my code (both from VS and from dotnet publish in Azure Pipeline) to iOS the app just shows my splash screen and then shows a blank white screen (both on Simulator and on physical iPhone) and nothing more...
  9. Edwin Klesman

    Tip A list of AI powered tools for C# Developers. What do you think?

    Hi all, Since ChatGPT kicked everyone into an AI era of asorts, I thought it would be fun to sum out some tools that are around to either: - make a developer more productive by speeding up repetitive tasks - act as a second pair of eyes - helps us by logically append our minds objectively...
  10. ahmedaziz

    Issue threading when run login identity on blazor server ?

    I working on blazor server . i get issue evaluation function required all threads to run i get this error when login on var resultIdentity = await signInManager.PasswordSignInAsync(UserName, "xxxxx", false, false) it stop on this line and hang and stuck on debugging so what is issue and how...
  11. ahmedaziz

    Question How to modify action details to get data from another model ?

    I work on EF core 7 blazor . I face issue I can't call Details model from application page to get all Data for details model . meaning I need to display details data as list on application page where Header Id = 1 on action GetAllDetails. so when call Application/GetAllDetails I will get all...
  12. E

    Resolved the current .net sdk does not support the targeting .net 6.0

    Hello all, woke up this morning booted up my pc and got this error the current .net sdk does not support the targeting .net 6.0 i not made any changes to sdk it has taken me to this line of code, Trigger an error if targeting a higher version of .NET Core or .NET Standard than is...
  13. R

    Question Bulk Insert Problem - inserting excel data

    Hi there, In my Blazor Server application, I am trying to insert excel data into a SQL database table. I am getting this error, but couldn't figure out why. Here is the sample excel, I am trying to bulk insert. Here is the table; CREATE TABLE [dbo].[RazerReconciliation]( [PID]...
  14. SiamIT

    Question How To DEALLOCATE PREPARE Statement Using Mysql.Data Client?

    Greetings.. hope you guys are fine? OK.. i am using MySQL.Data client/library to access and use MySQL database. I was using happily it for sometimes on quite a few project. But suddenly facing a new issue that causing me hold on my current project. :( Because current project makes some (looks...
  15. SiamIT

    Resolved Fix 7zip.dll integration in C#

    i was trying/finding for a solution that i can use unzip/extract 7zip file natively in c#.. till now i was trying 7zdec.exe (console) application that i can invoke using process command. but it's not that user friendly as i need to track the progress properly on front end (my app/form/window)...
  16. SiamIT

    Question Showing Console Output On Label Is Not Working

    Greetings, i am just trying to show the console output to label text. but it's just not working.. i have tired hours and hours of this and that but none is working.. and now came here for support here is the code i have tried so far: private static void ExecuteCLI(string[] args...
  17. SiamIT

    Question Make A Windows Printer (Virtual Printer) Bluetooth Discoverable

    Greetings.. For a project, i need to make a virtual printer on windows to be discoverable by Bluetooth so that mobile device can connect to printer and print anything from their mobile. virtual printer, will save the print as a PDF file, and my application will do the post processing...
  18. SiamIT

    Question Best Approach/Guide For Whatsapp Business API

    Greetings Everyone, We have developed retail software for our local market. A) My Business B) My customer/user who is using our software C) My Customer's clients/customer Who Getting the service of our software from our users. Currently my software allows to send order/service update from our...
  19. SiamIT

    Resolved Force Windows Default Message Display In English

    Greetings, I develop software for numerous clients around the world, and many of the clients is from non English country thus their computer Language is also non English. And sometimes, when my app face Unhandled exception it shows the error message with details. But problem is windows shows...
  20. Jfisher387

    Reaching an array inside a MongoDB Collection

    Hello, I have a mongoDB collection of orders. Inside each order is a list of items that need purchased. I successfully have saved my orders to a collection. Now I would like to browse through my orders and view the contents of each order.I would of guessed I was able to access the list inside...
Back
Top Bottom