.net

MySQL DATE type is shown as DATETIME on a datagrid

I create a very simple database with the following command: CREATE TABLE IF NOT EXISTS `ABC`.`Socio` ( `idSocio` INT NO ... /DataGrid.Columns> </DataGrid> Why do I get the date in a format that appears to be of type DATETIME?

What is the difference between async, multithreading, parallelism and concurrency?

What is the difference between async , multithreading , etc.? Do they depend on the amount of processor cores? If I make a p ... a good way for my answer, but I think it is still too generic for my problem, about running the same program multiple times.

Concept of class, entity and objects

I'm reading about classes in C#, and one excerpt got me a little confused. I know that classes are objects in C#, and they c ... the above sentence would have to be different. When we talk about entities, can we refer only to the class or to any object?

How to update javascript File Content on the page?

I searched the forum and did not find a definitive solution, my problem is with regard to browser cache, when I make a change ... ionID) %> Where we concatenate the user session to the file link, however, even so the file remains outdated. Thank you.

What are the differences between Visibility.Hidden and Visibility.Collapsed?

What are the differences between WPF's Visibility.Hidden and Visibility.Collapsed visibilities? Are there practical or theo ... its visibility for Visibility.Hidden or Visibility.Collapsed? If so, what would be the differences for each of the two modes?

Can I run an image do.NET Native directly?

I compiled my executable in C # to a .NET Native image using ngen.exe, i have the file location, but when I go to run Windows ... d" without any dependency. If I can't run the image, I can decompile your code to recompile to C++ and compile in Windows32?

What can I do no.NET framework e no.NET Core not? And vice versa

I grew my eye on .NET Core (ASP.NET Core), i started with C#, but abandoned by leaving to the side " Open-source ", now with ... ) no? Vice Versa. Do you have a very large range of differences between the two? Is it worth investing in it at the moment?

Direct printing on the door

I need a code VB.Net to print directly to the port of a lug printer without using any windows driver. I add that my printer is connected by USB but in the future I needed it to print on any type of port: COM, parallel, USB...

How to create an ArrayList of arrays?

I'm having some problems creating a list of arrays, I'm using Visual C#, .NET 3.5. Code: using Database; //... namespace S ... he described above? Is there any more practical way to do this registration/validation (dll, for example)? If so, which one?

How to replace the number of letters of a word with a character?

I'm doing a gallows game, let's assume that I type the name "John "in a box of text, then I press a button and I want" _ _ _ _ "to appear in the box of "text 2", then I want the same number of underlines to appear as the number of letters.

How to download a file from a URL using C#

Developing a project in C # I came across the following situation, I am needing to download files from some URLs, what is the best way to do this? Would there be any way to along with the download implement a progress bar?

Swap "Web Browser" vb.net

I want to change the default visual studio browser, I would like to use another one to run some scripts that are having problems in internet explorer. I would like suggestions and examples of how to do this. I appreciate it now.

Differences between Parse vs TryParse

is there a performance difference between the two? in which situations do they apply? which is the most recommended to be used?

What are the differences between ViewBag, ViewData and TempData?

Was researching how to pass data to a View, or rather, persist data from a controller to the view. I would like to know amon ... ms mentioned in the title: What are the differences between them? in which cases is one more recommended than the other?

How to make the keydown function work with the program in the background?

Code: if (e.KeyCode == Keys.F7) { A1 = !A1; } How to make this code work without the program being in the foreground?

Draw where the name cannot be drawn more than once

I need to make a Simple Sweepstakes software, but I don't know how to take the names that have been entered in the list box and draw one among them. The same name can not be drawn more than once. How to do this part?

How to protect an assembly from decompilation?

Nowadays there are many disassemblers and recompilers for .NET Framework, the guy goes there, makes an application and everyo ... le servidor, username and password, can the guy who decompiled the app have access to the contents of these three variables?

Convert dd/mm/YYYY Data to ISO 8601 format (YYYY-mm-dd)

I have a field called maskedTextBox2 in the C# Windows Form, which contains a mask for date in the format dd/mm/aaaa. How can I convert this string to format aaaa-mm-dd to save to MySQL Bank, which uses dates in ISO 8601 format (aaaa-mm-dd)?

Is ASMX web service obsolete?

I came across the need to consume an ASMX Web Service. Until then it had only consumed RESTful APIs. I noticed that the same ... uite old. Is it recommended to use an ASMX Web Service? Does anyone still use the same to create a Web Service from scratch?

how to extract zip files in c# to a folder where the system is installed

How to extract zip files in c # to a folder where the system is installed? using System; using System.IO.Compression; using ... The method reads the XML and has to download and unzip the zip file into the system installation folder. Could you help me?