Actually, that's not quite accurate. I've no problems compiling net (core) apps on my windows machine, transferring the output to my raspberry Pi or Mac and launching it. The process is slightly different in that one doesn't run the .exe on the nix box but instead the .dll
On windows...
So use one of the methods that reads bytes, such as Read(byte[], int, int)
You're using the wrong tool for the job, a tool that interprets the data and now you're trying to uninterpret the data. Dont try to unbake a cake, avoid baking it in the first place
Is the shared memory provider enabled?
https://webfiles-sc1.blackbaud.com/files/support/infinityinstaller/content/installermaster/tkenablenamedpipesandtcpipconnections.htm
Enable TCP and use that instead
.NET 8 is not a "3.2 versions more advanced" successor to .NET Framework 4.8
First there was "widnows only" framework up to 4.6, then "linux too" .net core 1.0 became a thing. The two proceeded in parallel, with a focus on core, which rapidly advanced through the versions and dropped the "core"...
Did you make a razor/blazor project and copy/paste the index page, maybe even rename it, but forgot to change the `@page "/" ` directive at the top of the markup?
Newer Blazor is more helpful with its error messages:
It doesn't really make sense, unless you're going to keep something in your head and enter it into the program regularly - someone breaks into your network and downloads your DB; oh no! That have your passwords! But fortunately you encrypted the column in the DB so all they got is garbage, and...
If "practical" applications interest you, some challenge site like CodeWars.
You can ask ChatGPT to translate from code you know in another language, and you can ask it why code doesn't work etc. it's actually quite a patient teacher if you ask the right questions and doesn't often get basic...
Or just use a nuget package like EPPlus that can save a dataset (multiple tables) to an XLSX (multiple sheets)
As mentioned, CSV don't have multiple sheets, but if you can provide me with a CSV that renders as multiple sheets when opened in excel, then I'll write you the code that creates it. I...
Looks to me like your life would be a lot easier if you just passed DateTime.MinValue for @startDate instead of NULL, DateTime.MaxValue for @endDate, instead of NULL
Baking hardcoded values into your code is a silly idea that creates an ongoing maintenance headache
Performing conversions on...
And what might be a second, more cheaty way to do it? Well remember I said that you can use any SQL that returns any data so long as the columns are matched? Slight tweak; I'm reasonably certain (it's been a long time) you can return a subset of columns so long as the names match and the columns...
Hopefully now that you understand all that, we can take a look at your actual requirements.
So it seems you're searching the operation table for a job id and you want to add on just one bit of info from the Delivery table.
There are plenty of ways to skin this cat. Perhaps the first...
The next thing I want to talk about is your Fill commands
You've probably created your datatables and table adapters by giving a query of "SELECT * FROM Job" or similar..
You seldom, if ever, want to do this. I typically make the first query (the one that defines the table adapter and the...
Noo... you've ended up getting it all wrong. You put all that effort into making a strongly typed datatable, and you've even filled it with a table adapter like you should..
..and then you've looped through it as though it's a weakly typed, plain DataTable.
If you take away nothing else from...
Above, net 7 (core derived), Below net framework 4.8
(and guess what happens when you hit "Create or open", add a setting and build...)
Side note, WinForms in .net core derivatives can be a miserable experience; I'd still use netFW for WF unless there was some massively compelling...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.